Skip to main content

authenticator_methods

Creates, updates, deletes, gets or lists an authenticator_methods resource.

Overview​

Nameauthenticator_methods
TypeResource
Idokta.authenticators.authenticator_methods

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
_linksobjectSpecifies link relations (see Web Linking) available using the JSON Hypertext Application Language specification. This object is used for dynamic discovery of related resources and lifecycle operations.
statusstringThe status of the authenticator method (ACTIVE, INACTIVE)
typestringThe type of authenticator method (cert, duo, email, idp, otp, password, push, security_question, signed_nonce, sms, totp, voice, webauthn, tac)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_authenticator_methodselectauthenticatorId, methodType, subdomainRetrieves a method identified by methodType of an authenticator identified by authenticatorId
list_authenticator_methodsselectauthenticatorId, subdomainLists all methods of an authenticator identified by authenticatorId
replace_authenticator_methodreplaceauthenticatorId, methodType, subdomainReplaces a method of methodType for an authenticator identified by authenticatorId
activate_authenticator_methodexecauthenticatorId, methodType, subdomainActivates a method for an authenticator identified by authenticatorId and methodType
deactivate_authenticator_methodexecauthenticatorId, methodType, subdomainDeactivates a method for an authenticator identified by authenticatorId and methodType
verify_rp_id_domainexecauthenticatorId, webAuthnMethodType, subdomainVerifies the Relying Party identifier (RP ID) domain for the specified Passkey (FIDO2 WebAuthn) authenticator and the specific webauthn authenticator method

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
authenticatorIdstringid of the authenticator
methodTypestringType of authenticator method
subdomainstring(default: my-org)
webAuthnMethodTypestringType of authenticator method

SELECT examples​

Retrieves a method identified by methodType of an authenticator identified by authenticatorId

SELECT
_links,
status,
type
FROM okta.authenticators.authenticator_methods
WHERE authenticatorId = '{{ authenticatorId }}' -- required
AND methodType = '{{ methodType }}' -- required
AND subdomain = '{{ subdomain }}' -- required
;

REPLACE examples​

Replaces a method of methodType for an authenticator identified by authenticatorId

REPLACE okta.authenticators.authenticator_methods
SET
status = '{{ status }}',
type = '{{ type }}'
WHERE
authenticatorId = '{{ authenticatorId }}' --required
AND methodType = '{{ methodType }}' --required
AND subdomain = '{{ subdomain }}' --required
RETURNING
_links,
status,
type;

Lifecycle Methods​

Activates a method for an authenticator identified by authenticatorId and methodType

EXEC okta.authenticators.authenticator_methods.activate_authenticator_method
@authenticatorId='{{ authenticatorId }}' --required,
@methodType='{{ methodType }}' --required,
@subdomain='{{ subdomain }}' --required
;