Package com.lithic.api.models
Class AuthenticationRetrieveResponse.ChallengeMetadata
-
- All Implemented Interfaces:
public final class AuthenticationRetrieveResponse.ChallengeMetadataMetadata about the challenge method and delivery.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuthenticationRetrieveResponse.ChallengeMetadata.BuilderA builder for ChallengeMetadata.
public final classAuthenticationRetrieveResponse.ChallengeMetadata.MethodTypeThe type of challenge method used for authentication.
-
Method Summary
Modifier and Type Method Description final AuthenticationRetrieveResponse.ChallengeMetadata.MethodTypemethodType()The type of challenge method used for authentication. final Optional<String>phoneNumber()The phone number used for delivering the OTP. final JsonField<AuthenticationRetrieveResponse.ChallengeMetadata.MethodType>_methodType()Returns the raw JSON value of methodType. final JsonField<String>_phoneNumber()Returns the raw JSON value of phoneNumber. final Map<String, JsonValue>_additionalProperties()final AuthenticationRetrieveResponse.ChallengeMetadata.BuildertoBuilder()final AuthenticationRetrieveResponse.ChallengeMetadatavalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AuthenticationRetrieveResponse.ChallengeMetadata.Builderbuilder()Returns a mutable builder for constructing an instance of ChallengeMetadata. -
-
Method Detail
-
methodType
final AuthenticationRetrieveResponse.ChallengeMetadata.MethodType methodType()
The type of challenge method used for authentication.
-
phoneNumber
final Optional<String> phoneNumber()
The phone number used for delivering the OTP. Relevant only for SMS_OTP method.
-
_methodType
final JsonField<AuthenticationRetrieveResponse.ChallengeMetadata.MethodType> _methodType()
Returns the raw JSON value of methodType.
Unlike methodType, this method doesn't throw if the JSON field has an unexpected type.
-
_phoneNumber
final JsonField<String> _phoneNumber()
Returns the raw JSON value of phoneNumber.
Unlike phoneNumber, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AuthenticationRetrieveResponse.ChallengeMetadata.Builder toBuilder()
-
validate
final AuthenticationRetrieveResponse.ChallengeMetadata validate()
-
builder
final static AuthenticationRetrieveResponse.ChallengeMetadata.Builder builder()
Returns a mutable builder for constructing an instance of ChallengeMetadata.
The following fields are required:
.methodType()
-
-
-
-