Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .fern/replay.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,6 @@ settings.gradle
build.gradle
sample-app/

.fern/replay.lock
.fern/replay.yml
.gitattributes
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.fern/replay.lock linguist-generated=true
86 changes: 83 additions & 3 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -9523,6 +9523,14 @@ client.refreshTokens().revoke(

**clientId:** `Optional<String>` — Revoke all refresh tokens for this client.

</dd>
</dl>

<dl>
<dd>

**audience:** `Optional<String>` — Resource server identifier (audience) to scope the revocation. Must be used with both `user_id` and `client_id`.

</dd>
</dl>
</dd>
Expand Down Expand Up @@ -9917,6 +9925,14 @@ client.resourceServers().create(
<dl>
<dd>

**allowOnlineAccessWithEphemeralSessions:** `Optional<Boolean>` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false).

</dd>
</dl>

<dl>
<dd>

**tokenLifetime:** `Optional<Integer>` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.

</dd>
Expand Down Expand Up @@ -10236,6 +10252,14 @@ client.resourceServers().update(
<dl>
<dd>

**allowOnlineAccessWithEphemeralSessions:** `Optional<Boolean>` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false).

</dd>
</dl>

<dl>
<dd>

**tokenLifetime:** `Optional<Integer>` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.

</dd>
Expand Down Expand Up @@ -12249,7 +12273,7 @@ client.tickets().changePassword(
<dl>
<dd>

**resultUrl:** `Optional<String>` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using client_id or organization_id.
**resultUrl:** `Optional<String>` — URL the user will be redirected to in the classic Universal Login experience once the ticket is used. Cannot be specified when using organization_id. May be specified together with client_id when the tenant has a custom password reset page enabled and a password-reset-post-challenge Action bound.

</dd>
</dl>
Expand Down Expand Up @@ -29145,15 +29169,23 @@ client.users().authenticationMethods().create(
<dl>
<dd>

**keyId:** `Optional<String>` — Applies to webauthn authentication methods only. The id of the credential.
**keyId:** `Optional<String>` — Applies to webauthn/passkey authentication methods only. The id of the credential.

</dd>
</dl>

<dl>
<dd>

**publicKey:** `Optional<String>` — Applies to webauthn/passkey authentication methods only. The public key, which is encoded as base64.

</dd>
</dl>

<dl>
<dd>

**publicKey:** `Optional<String>` — Applies to webauthn authentication methods only. The public key, which is encoded as base64.
**aaguid:** `Optional<String>` — Applies to passkeys only. Authenticator Attestation Globally Unique Identifier

</dd>
</dl>
Expand All @@ -29163,6 +29195,54 @@ client.users().authenticationMethods().create(

**relyingPartyIdentifier:** `Optional<String>` — Applies to webauthn authentication methods only. The relying party identifier.

</dd>
</dl>

<dl>
<dd>

**credentialDeviceType:** `Optional<CredentialDeviceTypeEnum>`

</dd>
</dl>

<dl>
<dd>

**credentialBackedUp:** `Optional<Boolean>` — Applies to passkeys only. Whether the credential was backed up.

</dd>
</dl>

<dl>
<dd>

**identityUserId:** `Optional<String>` — Applies to passkeys only. The ID of the user identity linked with the authentication method.

</dd>
</dl>

<dl>
<dd>

**userAgent:** `Optional<String>` — Applies to passkeys only. The user-agent of the browser used to create the passkey.

</dd>
</dl>

<dl>
<dd>

**userHandle:** `Optional<String>` — Applies to passkeys only. The user handle of the user identity.

</dd>
</dl>

<dl>
<dd>

**transports:** `Optional<List<String>>` — Applies to passkeys only. The transports used by clients to communicate with the authenticator.

</dd>
</dl>
</dd>
Expand Down
163 changes: 163 additions & 0 deletions src/main/java/com/auth0/client/mgmt/types/BadRequestSchema.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/
package com.auth0.client.mgmt.types;

import com.auth0.client.mgmt.core.ObjectMappers;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSetter;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.HashMap;
import java.util.Map;
import java.util.Objects;
import org.jetbrains.annotations.NotNull;

@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonDeserialize(builder = BadRequestSchema.Builder.class)
public final class BadRequestSchema {
private final String message;

private final String statusCode;

private final BadRequestSchemaError error;

private final Map<String, Object> additionalProperties;

private BadRequestSchema(
String message, String statusCode, BadRequestSchemaError error, Map<String, Object> additionalProperties) {
this.message = message;
this.statusCode = statusCode;
this.error = error;
this.additionalProperties = additionalProperties;
}

@JsonProperty("message")
public String getMessage() {
return message;
}

@JsonProperty("statusCode")
public String getStatusCode() {
return statusCode;
}

@JsonProperty("error")
public BadRequestSchemaError getError() {
return error;
}

@java.lang.Override
public boolean equals(Object other) {
if (this == other) return true;
return other instanceof BadRequestSchema && equalTo((BadRequestSchema) other);
}

@JsonAnyGetter
public Map<String, Object> getAdditionalProperties() {
return this.additionalProperties;
}

private boolean equalTo(BadRequestSchema other) {
return message.equals(other.message) && statusCode.equals(other.statusCode) && error.equals(other.error);
}

@java.lang.Override
public int hashCode() {
return Objects.hash(this.message, this.statusCode, this.error);
}

@java.lang.Override
public String toString() {
return ObjectMappers.stringify(this);
}

public static MessageStage builder() {
return new Builder();
}

public interface MessageStage {
StatusCodeStage message(@NotNull String message);

Builder from(BadRequestSchema other);
}

public interface StatusCodeStage {
ErrorStage statusCode(@NotNull String statusCode);
}

public interface ErrorStage {
_FinalStage error(@NotNull BadRequestSchemaError error);
}

public interface _FinalStage {
BadRequestSchema build();

_FinalStage additionalProperty(String key, Object value);

_FinalStage additionalProperties(Map<String, Object> additionalProperties);
}

@JsonIgnoreProperties(ignoreUnknown = true)
public static final class Builder implements MessageStage, StatusCodeStage, ErrorStage, _FinalStage {
private String message;

private String statusCode;

private BadRequestSchemaError error;

@JsonAnySetter
private Map<String, Object> additionalProperties = new HashMap<>();

private Builder() {}

@java.lang.Override
public Builder from(BadRequestSchema other) {
message(other.getMessage());
statusCode(other.getStatusCode());
error(other.getError());
return this;
}

@java.lang.Override
@JsonSetter("message")
public StatusCodeStage message(@NotNull String message) {
this.message = Objects.requireNonNull(message, "message must not be null");
return this;
}

@java.lang.Override
@JsonSetter("statusCode")
public ErrorStage statusCode(@NotNull String statusCode) {
this.statusCode = Objects.requireNonNull(statusCode, "statusCode must not be null");
return this;
}

@java.lang.Override
@JsonSetter("error")
public _FinalStage error(@NotNull BadRequestSchemaError error) {
this.error = Objects.requireNonNull(error, "error must not be null");
return this;
}

@java.lang.Override
public BadRequestSchema build() {
return new BadRequestSchema(message, statusCode, error, additionalProperties);
}

@java.lang.Override
public Builder additionalProperty(String key, Object value) {
this.additionalProperties.put(key, value);
return this;
}

@java.lang.Override
public Builder additionalProperties(Map<String, Object> additionalProperties) {
this.additionalProperties.putAll(additionalProperties);
return this;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/**
* This file was auto-generated by Fern from our API Definition.
*/
package com.auth0.client.mgmt.types;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;

public final class BadRequestSchemaError {
public static final BadRequestSchemaError BAD_REQUEST = new BadRequestSchemaError(Value.BAD_REQUEST, "Bad Request");

private final Value value;

private final String string;

BadRequestSchemaError(Value value, String string) {
this.value = value;
this.string = string;
}

public Value getEnumValue() {
return value;
}

@java.lang.Override
@JsonValue
public String toString() {
return this.string;
}

@java.lang.Override
public boolean equals(Object other) {
return (this == other)
|| (other instanceof BadRequestSchemaError
&& this.string.equals(((BadRequestSchemaError) other).string));
}

@java.lang.Override
public int hashCode() {
return this.string.hashCode();
}

public <T> T visit(Visitor<T> visitor) {
switch (value) {
case BAD_REQUEST:
return visitor.visitBadRequest();
case UNKNOWN:
default:
return visitor.visitUnknown(string);
}
}

@JsonCreator(mode = JsonCreator.Mode.DELEGATING)
public static BadRequestSchemaError valueOf(String value) {
switch (value) {
case "Bad Request":
return BAD_REQUEST;
default:
return new BadRequestSchemaError(Value.UNKNOWN, value);
}
}

public enum Value {
BAD_REQUEST,

UNKNOWN
}

public interface Visitor<T> {
T visitBadRequest();

T visitUnknown(String unknownType);
}
}
Loading
Loading