Package com.okta.sdk.resource.api
Class AuthenticatorApi
java.lang.Object
com.okta.sdk.resource.api.AuthenticatorApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class AuthenticatorApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivateAuthenticator
(String authenticatorId) Activate an Authenticator Activates an authenticator by `authenticatorId`activateAuthenticator
(String authenticatorId, Map<String, String> additionalHeaders) Activate an Authenticator Activates an authenticator by `authenticatorId`activateAuthenticatorMethod
(String authenticatorId, AuthenticatorMethodType methodType) Activate an Authenticator Method Activates a Method for an Authenticator identified by `authenticatorId` and `methodType` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.activateAuthenticatorMethod
(String authenticatorId, AuthenticatorMethodType methodType, Map<String, String> additionalHeaders) Activate an Authenticator Method Activates a Method for an Authenticator identified by `authenticatorId` and `methodType` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.createAuthenticator
(AuthenticatorBase authenticator, Boolean activate) Create an Authenticator Creates an authenticatorcreateAuthenticator
(AuthenticatorBase authenticator, Boolean activate, Map<String, String> additionalHeaders) Create an Authenticator Creates an authenticatordeactivateAuthenticator
(String authenticatorId) Deactivate an Authenticator Deactivates an authenticator by `authenticatorId`deactivateAuthenticator
(String authenticatorId, Map<String, String> additionalHeaders) Deactivate an Authenticator Deactivates an authenticator by `authenticatorId`deactivateAuthenticatorMethod
(String authenticatorId, AuthenticatorMethodType methodType) Deactivate an Authenticator Method Deactivates a Method for an Authenticator identified by `authenticatorId` and `methodType` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.deactivateAuthenticatorMethod
(String authenticatorId, AuthenticatorMethodType methodType, Map<String, String> additionalHeaders) Deactivate an Authenticator Method Deactivates a Method for an Authenticator identified by `authenticatorId` and `methodType` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.getAuthenticator
(String authenticatorId) Retrieve an Authenticator Retrieves an authenticator from your Okta organization by `authenticatorId`getAuthenticator
(String authenticatorId, Map<String, String> additionalHeaders) Retrieve an Authenticator Retrieves an authenticator from your Okta organization by `authenticatorId`getAuthenticatorMethod
(String authenticatorId, AuthenticatorMethodType methodType) Retrieve an Authenticator Method Retrieves a Method identified by `methodType` of an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.getAuthenticatorMethod
(String authenticatorId, AuthenticatorMethodType methodType, Map<String, String> additionalHeaders) Retrieve an Authenticator Method Retrieves a Method identified by `methodType` of an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.protected static com.fasterxml.jackson.databind.ObjectMapper
getWellKnownAppAuthenticatorConfiguration
(String oauthClientId) Retrieve the Well-Known App Authenticator Configuration Retrieves the well-known app authenticator configuration.getWellKnownAppAuthenticatorConfiguration
(String oauthClientId, Map<String, String> additionalHeaders) Retrieve the Well-Known App Authenticator Configuration Retrieves the well-known app authenticator configuration.listAuthenticatorMethods
(String authenticatorId) List all Methods of an Authenticator Lists all Methods of an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.listAuthenticatorMethods
(String authenticatorId, Map<String, String> additionalHeaders) List all Methods of an Authenticator Lists all Methods of an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.List all Authenticators Lists all authenticatorslistAuthenticators
(Map<String, String> additionalHeaders) List all Authenticators Lists all authenticatorsreplaceAuthenticator
(String authenticatorId, AuthenticatorBase authenticator) Replace an Authenticator Replaces the properties for an Authenticator identified by `authenticatorId`replaceAuthenticator
(String authenticatorId, AuthenticatorBase authenticator, Map<String, String> additionalHeaders) Replace an Authenticator Replaces the properties for an Authenticator identified by `authenticatorId`replaceAuthenticatorMethod
(String authenticatorId, AuthenticatorMethodType methodType, AuthenticatorMethodBase authenticatorMethodBase) Replace an Authenticator Method Replaces a Method of `methodType` for an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.replaceAuthenticatorMethod
(String authenticatorId, AuthenticatorMethodType methodType, AuthenticatorMethodBase authenticatorMethodBase, Map<String, String> additionalHeaders) Replace an Authenticator Method Replaces a Method of `methodType` for an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature.void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
AuthenticatorApi
public AuthenticatorApi() -
AuthenticatorApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateAuthenticator
Activate an Authenticator Activates an authenticator by `authenticatorId`- Parameters:
authenticatorId
- `id` of the Authenticator (required)- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
activateAuthenticator
public AuthenticatorBase activateAuthenticator(String authenticatorId, Map<String, String> additionalHeaders) throws ApiExceptionActivate an Authenticator Activates an authenticator by `authenticatorId`- Parameters:
authenticatorId
- `id` of the Authenticator (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
activateAuthenticatorMethod
public AuthenticatorMethodBase activateAuthenticatorMethod(String authenticatorId, AuthenticatorMethodType methodType) throws ApiException Activate an Authenticator Method Activates a Method for an Authenticator identified by `authenticatorId` and `methodType` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)methodType
- Type of authenticator method (required)- Returns:
- AuthenticatorMethodBase
- Throws:
ApiException
- if fails to make API call
-
activateAuthenticatorMethod
public AuthenticatorMethodBase activateAuthenticatorMethod(String authenticatorId, AuthenticatorMethodType methodType, Map<String, String> additionalHeaders) throws ApiExceptionActivate an Authenticator Method Activates a Method for an Authenticator identified by `authenticatorId` and `methodType` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)methodType
- Type of authenticator method (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorMethodBase
- Throws:
ApiException
- if fails to make API call
-
createAuthenticator
public AuthenticatorBase createAuthenticator(AuthenticatorBase authenticator, Boolean activate) throws ApiException Create an Authenticator Creates an authenticator- Parameters:
authenticator
- (required)activate
- Whether to execute the activation lifecycle operation when Okta creates the authenticator (optional, default to true)- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
createAuthenticator
public AuthenticatorBase createAuthenticator(AuthenticatorBase authenticator, Boolean activate, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Authenticator Creates an authenticator- Parameters:
authenticator
- (required)activate
- Whether to execute the activation lifecycle operation when Okta creates the authenticator (optional, default to true)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
deactivateAuthenticator
Deactivate an Authenticator Deactivates an authenticator by `authenticatorId`- Parameters:
authenticatorId
- `id` of the Authenticator (required)- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
deactivateAuthenticator
public AuthenticatorBase deactivateAuthenticator(String authenticatorId, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate an Authenticator Deactivates an authenticator by `authenticatorId`- Parameters:
authenticatorId
- `id` of the Authenticator (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
deactivateAuthenticatorMethod
public AuthenticatorMethodBase deactivateAuthenticatorMethod(String authenticatorId, AuthenticatorMethodType methodType) throws ApiException Deactivate an Authenticator Method Deactivates a Method for an Authenticator identified by `authenticatorId` and `methodType` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)methodType
- Type of authenticator method (required)- Returns:
- AuthenticatorMethodBase
- Throws:
ApiException
- if fails to make API call
-
deactivateAuthenticatorMethod
public AuthenticatorMethodBase deactivateAuthenticatorMethod(String authenticatorId, AuthenticatorMethodType methodType, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate an Authenticator Method Deactivates a Method for an Authenticator identified by `authenticatorId` and `methodType` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)methodType
- Type of authenticator method (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorMethodBase
- Throws:
ApiException
- if fails to make API call
-
getAuthenticator
Retrieve an Authenticator Retrieves an authenticator from your Okta organization by `authenticatorId`- Parameters:
authenticatorId
- `id` of the Authenticator (required)- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
getAuthenticator
public AuthenticatorBase getAuthenticator(String authenticatorId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Authenticator Retrieves an authenticator from your Okta organization by `authenticatorId`- Parameters:
authenticatorId
- `id` of the Authenticator (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
getAuthenticatorMethod
public AuthenticatorMethodBase getAuthenticatorMethod(String authenticatorId, AuthenticatorMethodType methodType) throws ApiException Retrieve an Authenticator Method Retrieves a Method identified by `methodType` of an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)methodType
- Type of authenticator method (required)- Returns:
- AuthenticatorMethodBase
- Throws:
ApiException
- if fails to make API call
-
getAuthenticatorMethod
public AuthenticatorMethodBase getAuthenticatorMethod(String authenticatorId, AuthenticatorMethodType methodType, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Authenticator Method Retrieves a Method identified by `methodType` of an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)methodType
- Type of authenticator method (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorMethodBase
- Throws:
ApiException
- if fails to make API call
-
getWellKnownAppAuthenticatorConfiguration
public List<WellKnownAppAuthenticatorConfiguration> getWellKnownAppAuthenticatorConfiguration(String oauthClientId) throws ApiException Retrieve the Well-Known App Authenticator Configuration Retrieves the well-known app authenticator configuration. Includes an app authenticator's settings, supported methods, and other details.- Parameters:
oauthClientId
- Filters app authenticator configurations by `oauthClientId` (required)- Returns:
- List<WellKnownAppAuthenticatorConfiguration>
- Throws:
ApiException
- if fails to make API call
-
getWellKnownAppAuthenticatorConfiguration
public List<WellKnownAppAuthenticatorConfiguration> getWellKnownAppAuthenticatorConfiguration(String oauthClientId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Well-Known App Authenticator Configuration Retrieves the well-known app authenticator configuration. Includes an app authenticator's settings, supported methods, and other details.- Parameters:
oauthClientId
- Filters app authenticator configurations by `oauthClientId` (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<WellKnownAppAuthenticatorConfiguration>
- Throws:
ApiException
- if fails to make API call
-
listAuthenticatorMethods
public List<AuthenticatorMethodBase> listAuthenticatorMethods(String authenticatorId) throws ApiException List all Methods of an Authenticator Lists all Methods of an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)- Returns:
- List<AuthenticatorMethodBase>
- Throws:
ApiException
- if fails to make API call
-
listAuthenticatorMethods
public List<AuthenticatorMethodBase> listAuthenticatorMethods(String authenticatorId, Map<String, String> additionalHeaders) throws ApiExceptionList all Methods of an Authenticator Lists all Methods of an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<AuthenticatorMethodBase>
- Throws:
ApiException
- if fails to make API call
-
listAuthenticators
List all Authenticators Lists all authenticators- Returns:
- List<AuthenticatorBase>
- Throws:
ApiException
- if fails to make API call
-
listAuthenticators
public List<AuthenticatorBase> listAuthenticators(Map<String, String> additionalHeaders) throws ApiExceptionList all Authenticators Lists all authenticators- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- List<AuthenticatorBase>
- Throws:
ApiException
- if fails to make API call
-
replaceAuthenticator
public AuthenticatorBase replaceAuthenticator(String authenticatorId, AuthenticatorBase authenticator) throws ApiException Replace an Authenticator Replaces the properties for an Authenticator identified by `authenticatorId`- Parameters:
authenticatorId
- `id` of the Authenticator (required)authenticator
- (required)- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
replaceAuthenticator
public AuthenticatorBase replaceAuthenticator(String authenticatorId, AuthenticatorBase authenticator, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Authenticator Replaces the properties for an Authenticator identified by `authenticatorId`- Parameters:
authenticatorId
- `id` of the Authenticator (required)authenticator
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorBase
- Throws:
ApiException
- if fails to make API call
-
replaceAuthenticatorMethod
public AuthenticatorMethodBase replaceAuthenticatorMethod(String authenticatorId, AuthenticatorMethodType methodType, AuthenticatorMethodBase authenticatorMethodBase) throws ApiException Replace an Authenticator Method Replaces a Method of `methodType` for an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)methodType
- Type of authenticator method (required)authenticatorMethodBase
- (optional)- Returns:
- AuthenticatorMethodBase
- Throws:
ApiException
- if fails to make API call
-
replaceAuthenticatorMethod
public AuthenticatorMethodBase replaceAuthenticatorMethod(String authenticatorId, AuthenticatorMethodType methodType, AuthenticatorMethodBase authenticatorMethodBase, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Authenticator Method Replaces a Method of `methodType` for an Authenticator identified by `authenticatorId` > **Note:** <x-lifecycle class=\"ea\"></x-lifecycle> > The AAGUID Group object supports the Early Access (Self-Service) Allow List for FIDO2 (WebAuthn) Authenticators feature. Enable the feature for your org from the **Settings** > **Features** page in the Admin Console. > This feature has several limitations when enrolling a security key: > - Enrollment is currently unsupported on Firefox. > - Enrollment is currently unsupported on Chrome if User Verification is set to DISCOURAGED and a PIN is set on the security key. > - If prompted during enrollment, users must allow Okta to see the make and model of the security key.- Parameters:
authenticatorId
- `id` of the Authenticator (required)methodType
- Type of authenticator method (required)authenticatorMethodBase
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- AuthenticatorMethodBase
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-