Skip to content

Commit e963291

Browse files
authored
Merge branch 'master' into dependabot/github_actions/codecov/codecov-action-6.0.1
2 parents e75826e + e9ba8e5 commit e963291

146 files changed

Lines changed: 5450 additions & 4190 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.fern/replay.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.fernignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,6 @@ settings.gradle
9090
build.gradle
9191
sample-app/
9292

93+
.fern/replay.lock
94+
.fern/replay.yml
95+
.gitattributes

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.fern/replay.lock linguist-generated=true

reference.md

Lines changed: 83 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9523,6 +9523,14 @@ client.refreshTokens().revoke(
95239523

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

9526+
</dd>
9527+
</dl>
9528+
9529+
<dl>
9530+
<dd>
9531+
9532+
**audience:** `Optional<String>` — Resource server identifier (audience) to scope the revocation. Must be used with both `user_id` and `client_id`.
9533+
95269534
</dd>
95279535
</dl>
95289536
</dd>
@@ -9917,6 +9925,14 @@ client.resourceServers().create(
99179925
<dl>
99189926
<dd>
99199927

9928+
**allowOnlineAccessWithEphemeralSessions:** `Optional<Boolean>` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false).
9929+
9930+
</dd>
9931+
</dl>
9932+
9933+
<dl>
9934+
<dd>
9935+
99209936
**tokenLifetime:** `Optional<Integer>` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
99219937

99229938
</dd>
@@ -10236,6 +10252,14 @@ client.resourceServers().update(
1023610252
<dl>
1023710253
<dd>
1023810254

10255+
**allowOnlineAccessWithEphemeralSessions:** `Optional<Boolean>` — Whether Online Refresh Tokens can be issued even when sessions are configured as ephemeral (true) or not (false).
10256+
10257+
</dd>
10258+
</dl>
10259+
10260+
<dl>
10261+
<dd>
10262+
1023910263
**tokenLifetime:** `Optional<Integer>` — Expiration value (in seconds) for access tokens issued for this API from the token endpoint.
1024010264

1024110265
</dd>
@@ -12249,7 +12273,7 @@ client.tickets().changePassword(
1224912273
<dl>
1225012274
<dd>
1225112275

12252-
**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.
12276+
**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.
1225312277

1225412278
</dd>
1225512279
</dl>
@@ -29145,15 +29169,23 @@ client.users().authenticationMethods().create(
2914529169
<dl>
2914629170
<dd>
2914729171

29148-
**keyId:** `Optional<String>` — Applies to webauthn authentication methods only. The id of the credential.
29172+
**keyId:** `Optional<String>` — Applies to webauthn/passkey authentication methods only. The id of the credential.
29173+
29174+
</dd>
29175+
</dl>
29176+
29177+
<dl>
29178+
<dd>
29179+
29180+
**publicKey:** `Optional<String>` — Applies to webauthn/passkey authentication methods only. The public key, which is encoded as base64.
2914929181

2915029182
</dd>
2915129183
</dl>
2915229184

2915329185
<dl>
2915429186
<dd>
2915529187

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

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

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

29198+
</dd>
29199+
</dl>
29200+
29201+
<dl>
29202+
<dd>
29203+
29204+
**credentialDeviceType:** `Optional<CredentialDeviceTypeEnum>`
29205+
29206+
</dd>
29207+
</dl>
29208+
29209+
<dl>
29210+
<dd>
29211+
29212+
**credentialBackedUp:** `Optional<Boolean>` — Applies to passkeys only. Whether the credential was backed up.
29213+
29214+
</dd>
29215+
</dl>
29216+
29217+
<dl>
29218+
<dd>
29219+
29220+
**identityUserId:** `Optional<String>` — Applies to passkeys only. The ID of the user identity linked with the authentication method.
29221+
29222+
</dd>
29223+
</dl>
29224+
29225+
<dl>
29226+
<dd>
29227+
29228+
**userAgent:** `Optional<String>` — Applies to passkeys only. The user-agent of the browser used to create the passkey.
29229+
29230+
</dd>
29231+
</dl>
29232+
29233+
<dl>
29234+
<dd>
29235+
29236+
**userHandle:** `Optional<String>` — Applies to passkeys only. The user handle of the user identity.
29237+
29238+
</dd>
29239+
</dl>
29240+
29241+
<dl>
29242+
<dd>
29243+
29244+
**transports:** `Optional<List<String>>` — Applies to passkeys only. The transports used by clients to communicate with the authenticator.
29245+
2916629246
</dd>
2916729247
</dl>
2916829248
</dd>
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
package com.auth0.client.mgmt.types;
5+
6+
import com.auth0.client.mgmt.core.ObjectMappers;
7+
import com.fasterxml.jackson.annotation.JsonAnyGetter;
8+
import com.fasterxml.jackson.annotation.JsonAnySetter;
9+
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
10+
import com.fasterxml.jackson.annotation.JsonInclude;
11+
import com.fasterxml.jackson.annotation.JsonProperty;
12+
import com.fasterxml.jackson.annotation.JsonSetter;
13+
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
14+
import java.util.HashMap;
15+
import java.util.Map;
16+
import java.util.Objects;
17+
import org.jetbrains.annotations.NotNull;
18+
19+
@JsonInclude(JsonInclude.Include.NON_ABSENT)
20+
@JsonDeserialize(builder = BadRequestSchema.Builder.class)
21+
public final class BadRequestSchema {
22+
private final String message;
23+
24+
private final String statusCode;
25+
26+
private final BadRequestSchemaError error;
27+
28+
private final Map<String, Object> additionalProperties;
29+
30+
private BadRequestSchema(
31+
String message, String statusCode, BadRequestSchemaError error, Map<String, Object> additionalProperties) {
32+
this.message = message;
33+
this.statusCode = statusCode;
34+
this.error = error;
35+
this.additionalProperties = additionalProperties;
36+
}
37+
38+
@JsonProperty("message")
39+
public String getMessage() {
40+
return message;
41+
}
42+
43+
@JsonProperty("statusCode")
44+
public String getStatusCode() {
45+
return statusCode;
46+
}
47+
48+
@JsonProperty("error")
49+
public BadRequestSchemaError getError() {
50+
return error;
51+
}
52+
53+
@java.lang.Override
54+
public boolean equals(Object other) {
55+
if (this == other) return true;
56+
return other instanceof BadRequestSchema && equalTo((BadRequestSchema) other);
57+
}
58+
59+
@JsonAnyGetter
60+
public Map<String, Object> getAdditionalProperties() {
61+
return this.additionalProperties;
62+
}
63+
64+
private boolean equalTo(BadRequestSchema other) {
65+
return message.equals(other.message) && statusCode.equals(other.statusCode) && error.equals(other.error);
66+
}
67+
68+
@java.lang.Override
69+
public int hashCode() {
70+
return Objects.hash(this.message, this.statusCode, this.error);
71+
}
72+
73+
@java.lang.Override
74+
public String toString() {
75+
return ObjectMappers.stringify(this);
76+
}
77+
78+
public static MessageStage builder() {
79+
return new Builder();
80+
}
81+
82+
public interface MessageStage {
83+
StatusCodeStage message(@NotNull String message);
84+
85+
Builder from(BadRequestSchema other);
86+
}
87+
88+
public interface StatusCodeStage {
89+
ErrorStage statusCode(@NotNull String statusCode);
90+
}
91+
92+
public interface ErrorStage {
93+
_FinalStage error(@NotNull BadRequestSchemaError error);
94+
}
95+
96+
public interface _FinalStage {
97+
BadRequestSchema build();
98+
99+
_FinalStage additionalProperty(String key, Object value);
100+
101+
_FinalStage additionalProperties(Map<String, Object> additionalProperties);
102+
}
103+
104+
@JsonIgnoreProperties(ignoreUnknown = true)
105+
public static final class Builder implements MessageStage, StatusCodeStage, ErrorStage, _FinalStage {
106+
private String message;
107+
108+
private String statusCode;
109+
110+
private BadRequestSchemaError error;
111+
112+
@JsonAnySetter
113+
private Map<String, Object> additionalProperties = new HashMap<>();
114+
115+
private Builder() {}
116+
117+
@java.lang.Override
118+
public Builder from(BadRequestSchema other) {
119+
message(other.getMessage());
120+
statusCode(other.getStatusCode());
121+
error(other.getError());
122+
return this;
123+
}
124+
125+
@java.lang.Override
126+
@JsonSetter("message")
127+
public StatusCodeStage message(@NotNull String message) {
128+
this.message = Objects.requireNonNull(message, "message must not be null");
129+
return this;
130+
}
131+
132+
@java.lang.Override
133+
@JsonSetter("statusCode")
134+
public ErrorStage statusCode(@NotNull String statusCode) {
135+
this.statusCode = Objects.requireNonNull(statusCode, "statusCode must not be null");
136+
return this;
137+
}
138+
139+
@java.lang.Override
140+
@JsonSetter("error")
141+
public _FinalStage error(@NotNull BadRequestSchemaError error) {
142+
this.error = Objects.requireNonNull(error, "error must not be null");
143+
return this;
144+
}
145+
146+
@java.lang.Override
147+
public BadRequestSchema build() {
148+
return new BadRequestSchema(message, statusCode, error, additionalProperties);
149+
}
150+
151+
@java.lang.Override
152+
public Builder additionalProperty(String key, Object value) {
153+
this.additionalProperties.put(key, value);
154+
return this;
155+
}
156+
157+
@java.lang.Override
158+
public Builder additionalProperties(Map<String, Object> additionalProperties) {
159+
this.additionalProperties.putAll(additionalProperties);
160+
return this;
161+
}
162+
}
163+
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
/**
2+
* This file was auto-generated by Fern from our API Definition.
3+
*/
4+
package com.auth0.client.mgmt.types;
5+
6+
import com.fasterxml.jackson.annotation.JsonCreator;
7+
import com.fasterxml.jackson.annotation.JsonValue;
8+
9+
public final class BadRequestSchemaError {
10+
public static final BadRequestSchemaError BAD_REQUEST = new BadRequestSchemaError(Value.BAD_REQUEST, "Bad Request");
11+
12+
private final Value value;
13+
14+
private final String string;
15+
16+
BadRequestSchemaError(Value value, String string) {
17+
this.value = value;
18+
this.string = string;
19+
}
20+
21+
public Value getEnumValue() {
22+
return value;
23+
}
24+
25+
@java.lang.Override
26+
@JsonValue
27+
public String toString() {
28+
return this.string;
29+
}
30+
31+
@java.lang.Override
32+
public boolean equals(Object other) {
33+
return (this == other)
34+
|| (other instanceof BadRequestSchemaError
35+
&& this.string.equals(((BadRequestSchemaError) other).string));
36+
}
37+
38+
@java.lang.Override
39+
public int hashCode() {
40+
return this.string.hashCode();
41+
}
42+
43+
public <T> T visit(Visitor<T> visitor) {
44+
switch (value) {
45+
case BAD_REQUEST:
46+
return visitor.visitBadRequest();
47+
case UNKNOWN:
48+
default:
49+
return visitor.visitUnknown(string);
50+
}
51+
}
52+
53+
@JsonCreator(mode = JsonCreator.Mode.DELEGATING)
54+
public static BadRequestSchemaError valueOf(String value) {
55+
switch (value) {
56+
case "Bad Request":
57+
return BAD_REQUEST;
58+
default:
59+
return new BadRequestSchemaError(Value.UNKNOWN, value);
60+
}
61+
}
62+
63+
public enum Value {
64+
BAD_REQUEST,
65+
66+
UNKNOWN
67+
}
68+
69+
public interface Visitor<T> {
70+
T visitBadRequest();
71+
72+
T visitUnknown(String unknownType);
73+
}
74+
}

0 commit comments

Comments
 (0)