client.factors.list() -> ListFactorsResponseContent
-
-
-
List of factors enabled for the Auth0 tenant and available for enrollment by this user.
-
-
-
client.factors().list();
-
-
client.authenticationMethods.list() -> ListAuthenticationMethodsResponseContent
-
-
-
Retrieve detailed list of authentication methods belonging to the authenticated user.
-
-
-
client.authenticationMethods().list( ListAuthenticationMethodsRequestParameters .builder() .type( OptionalNullable.of(FactorTypeEnum.PASSWORD) ) .build() );
-
-
-
type:
Optional<FactorTypeEnum>β Filter authentication methods by type
-
-
client.authenticationMethods.create(request) -> CreateAuthenticationMethodResponseContent
-
-
-
Start the enrollment of a supported authentication method.
-
-
-
client.authenticationMethods().create( CreateAuthenticationMethodRequestContent.phone( CreatePhoneAuthenticationMethod .builder() .phoneNumber("phone_number") .build() ) );
-
-
-
request:
CreateAuthenticationMethodRequestContent
-
-
client.authenticationMethods.get(authenticationMethodId) -> GetAuthenticationMethodResponseContent
-
-
-
Retrieves a single authentication method belonging to the authenticated user.
-
-
-
client.authenticationMethods().get("authentication_method_id");
-
-
-
authenticationMethodId:
Stringβ Authentication Method ID. This value is part of the Location header returned when creating an authentication method. It should be used as it is, without any modifications.
-
-
client.authenticationMethods.delete(authenticationMethodId)
-
-
-
Deletes a single authentication method belonging to the authenticated user.
-
-
-
client.authenticationMethods().delete("authentication_method_id");
-
-
-
authenticationMethodId:
Stringβ Authentication Method ID. This value is part of the Location header returned when creating an authentication method. It should be used as it is, without any modifications.
-
-
client.authenticationMethods.update(authenticationMethodId, request) -> UpdateAuthenticationMethodResponseContent
-
-
-
Updates a single authentication method
-
-
-
client.authenticationMethods().update( "authentication_method_id", UpdateAuthenticationMethodRequestContent .builder() .build() );
-
-
-
authenticationMethodId:
Stringβ Authentication Method ID. This value is part of the Location header returned when creating an authentication method. It should be used as it is, without any modifications.
-
name:
Optional<String>β The friendly name of the authentication method
-
preferredAuthenticationMethod:
Optional<PhoneAuthenticationMethodEnum>β The preferred authentication method (for phone authenticators)
-
-
client.authenticationMethods.verify(authenticationMethodId, request) -> VerifyAuthenticationMethodResponseContent
-
-
-
Confirm the enrollment of a supported authentication method.
-
-
-
client.authenticationMethods().verify( "authentication_method_id", VerifyAuthenticationMethodRequestContent.of( VerifyEmailAuthenticationMethod .builder() .authSession("Fe26.2**05c400ed...") .otpCode("123456") .build() ) );
-
-
-
authenticationMethodId:
Stringβ Authentication Method ID. This value is part of the Location header returned when creating an authentication method. It should be used as it is, without any modifications.
-
request:
VerifyAuthenticationMethodRequestContent
-
-
client.connectedAccounts.create(request) -> CreateConnectedAccountsResponseContent
-
-
-
Start an authorization flow to link the authenticated user's account with an external identity provider.
-
-
-
client.connectedAccounts().create( CreateConnectedAccountsRequestContent .builder() .connection("connection") .redirectUri("redirect_uri") .build() );
-
-
-
connection:
Stringβ The name of the connection to link the account with (e.g., 'google-oauth2', 'facebook').
-
redirectUri:
Stringβ The URI to redirect to after the connection process completes.
-
state:
Optional<String>β An opaque value used to maintain state between the request and callback.
-
codeChallenge:
Optional<String>β The PKCE code challenge derived from the code verifier.
-
codeChallengeMethod:
Optional<CreateConnectedAccountsRequestContentCodeChallengeMethod>β The method used to derive the code challenge. Required when code_challenge is provided.
-
scopes:
Optional<List<String>>β Defines the permissions that the client requests from the Identity Provider. Must include the standard scopes used to identify the user (e.g. 'openid', 'email', 'profile'), the scope required to obtain refresh tokens if needed (e.g. 'offline_access'), and any custom scopes the client needs to access protected resources.
-
authorizationParams:
Optional<AuthorizationParams>
-
-
client.connectedAccounts.complete(request) -> CompleteConnectedAccountsResponseContent
-
-
-
Complete a previously started authorization flow to link the authenticated user's account with an external identity provider.
-
-
-
client.connectedAccounts().complete( CompleteConnectedAccountsRequestContent .builder() .authSession("auth_session") .connectCode("connect_code") .redirectUri("redirect_uri") .build() );
-
-
-
authSession:
Stringβ The authentication session identifier
-
connectCode:
Stringβ The authorization code returned from the connect flow
-
redirectUri:
Stringβ The redirect URI used in the original request
-
codeVerifier:
Optional<String>β The PKCE code verifier
-
-
client.connectedAccounts.list() -> SyncPagingIterable<ConnectedAccount>
-
-
-
Retrieve connected accounts belonging to the authenticated user.
-
-
-
client.connectedAccounts().list( ListConnectedAccountsRequestParameters .builder() .connection( OptionalNullable.of( ConnectionNamesFilter.of("connection") ) ) .from( OptionalNullable.of("from") ) .take( OptionalNullable.of(1) ) .build() );
-
-
-
connection:
Optional<ConnectionNamesFilter>β Filter connected accounts by connection names
-
from:
Optional<String>β Cursor for pagination - start retrieving results from this point
-
take:
Optional<Integer>β Number of results to return (1-20)
-
-
client.connectedAccounts.delete(id)
-
-
-
Delete a connected account belonging to the authenticated user.
-
-
-
client.connectedAccounts().delete("id");
-
-
-
id:
Stringβ The unique identifier of the connected account
-
-
client.connectedAccounts.connections.list() -> SyncPagingIterable<ConnectedAccountConnection>
-
-
-
Retrieve available connections that can be used for account linking by the authenticated user.
-
-
-
client.connectedAccounts().connections().list( ListConnectedAccountsConnectionsRequestParameters .builder() .from( OptionalNullable.of("from") ) .take( OptionalNullable.of(1) ) .build() );
-
-
-
from:
Optional<String>β Cursor for pagination - start retrieving results from this point
-
take:
Optional<Integer>β Number of results to return (1-20)
-
-