Class SessionCreateParams.ClientSecret.ExpiresAfter
-
- All Implemented Interfaces:
public final class SessionCreateParams.ClientSecret.ExpiresAfterConfiguration for the ephemeral token expiration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionCreateParams.ClientSecret.ExpiresAfter.BuilderA builder for ExpiresAfter.
public final classSessionCreateParams.ClientSecret.ExpiresAfter.AnchorThe anchor point for the ephemeral token expiration. Only
created_atis currently supported.
-
Method Summary
Modifier and Type Method Description final SessionCreateParams.ClientSecret.ExpiresAfter.Anchoranchor()The anchor point for the ephemeral token expiration. final Optional<Long>seconds()The number of seconds from the anchor point to the expiration. final JsonField<SessionCreateParams.ClientSecret.ExpiresAfter.Anchor>_anchor()Returns the raw JSON value of anchor. final JsonField<Long>_seconds()Returns the raw JSON value of seconds. final Map<String, JsonValue>_additionalProperties()final SessionCreateParams.ClientSecret.ExpiresAfter.BuildertoBuilder()final SessionCreateParams.ClientSecret.ExpiresAftervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SessionCreateParams.ClientSecret.ExpiresAfter.Builderbuilder()Returns a mutable builder for constructing an instance of ExpiresAfter. -
-
Method Detail
-
anchor
final SessionCreateParams.ClientSecret.ExpiresAfter.Anchor anchor()
The anchor point for the ephemeral token expiration. Only
created_atis currently supported.
-
seconds
final Optional<Long> seconds()
The number of seconds from the anchor point to the expiration. Select a value between
10and7200.
-
_anchor
final JsonField<SessionCreateParams.ClientSecret.ExpiresAfter.Anchor> _anchor()
Returns the raw JSON value of anchor.
Unlike anchor, this method doesn't throw if the JSON field has an unexpected type.
-
_seconds
final JsonField<Long> _seconds()
Returns the raw JSON value of seconds.
Unlike seconds, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionCreateParams.ClientSecret.ExpiresAfter.Builder toBuilder()
-
validate
final SessionCreateParams.ClientSecret.ExpiresAfter validate()
-
builder
final static SessionCreateParams.ClientSecret.ExpiresAfter.Builder builder()
Returns a mutable builder for constructing an instance of ExpiresAfter.
The following fields are required:
.anchor()
-
-
-
-