Package com.strongdm.api
Class OktaMFAConfig
java.lang.Object
com.strongdm.api.OktaMFAConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe API token to authenticate with when auth_mode is api_token.booleanIndicates if an API token is already stored.The Okta auth mode, one of the OktaAuthMode constants.The Okta client ID to authenticate with when auth_mode is client_credentials.booleanIndicates if multidevice push is enabled.The Okta organization URL.The key ID (kid) assigned by Okta to the registered public key.booleanIndicates if a key ID is already stored or explicitly supplied.The PEM encoded private key to authenticate with when auth_mode is client_credentials.booleanIndicates if a PEM encoded private key is already stored.The Okta user lookup strategy, one of the OktaUserLookup constants.voidsetApiToken(String in) The API token to authenticate with when auth_mode is api_token.voidsetApiTokenSet(boolean in) Indicates if an API token is already stored.voidsetAuthMode(String in) The Okta auth mode, one of the OktaAuthMode constants.voidsetClientId(String in) The Okta client ID to authenticate with when auth_mode is client_credentials.voidsetMultidevicePushEnabled(boolean in) Indicates if multidevice push is enabled.voidThe Okta organization URL.voidThe key ID (kid) assigned by Okta to the registered public key.voidsetPrivateKeyIdSet(boolean in) Indicates if a key ID is already stored or explicitly supplied.voidThe PEM encoded private key to authenticate with when auth_mode is client_credentials.voidsetPrivateKeyPemSet(boolean in) Indicates if a PEM encoded private key is already stored.voidsetUserLookup(String in) The Okta user lookup strategy, one of the OktaUserLookup constants.
-
Constructor Details
-
OktaMFAConfig
public OktaMFAConfig()
-
-
Method Details
-
getApiToken
The API token to authenticate with when auth_mode is api_token. -
setApiToken
The API token to authenticate with when auth_mode is api_token. -
getApiTokenSet
public boolean getApiTokenSet()Indicates if an API token is already stored. -
setApiTokenSet
public void setApiTokenSet(boolean in) Indicates if an API token is already stored. -
getAuthMode
The Okta auth mode, one of the OktaAuthMode constants. -
setAuthMode
The Okta auth mode, one of the OktaAuthMode constants. -
getClientId
The Okta client ID to authenticate with when auth_mode is client_credentials. -
setClientId
The Okta client ID to authenticate with when auth_mode is client_credentials. -
getMultidevicePushEnabled
public boolean getMultidevicePushEnabled()Indicates if multidevice push is enabled. -
setMultidevicePushEnabled
public void setMultidevicePushEnabled(boolean in) Indicates if multidevice push is enabled. -
getOrganizationUrl
The Okta organization URL. -
setOrganizationUrl
The Okta organization URL. -
getPrivateKeyId
The key ID (kid) assigned by Okta to the registered public key. -
setPrivateKeyId
The key ID (kid) assigned by Okta to the registered public key. -
getPrivateKeyIdSet
public boolean getPrivateKeyIdSet()Indicates if a key ID is already stored or explicitly supplied. This allows callers to preserve the existing value when omitted or clear it by sending an empty string with private_key_id_set=true. -
setPrivateKeyIdSet
public void setPrivateKeyIdSet(boolean in) Indicates if a key ID is already stored or explicitly supplied. This allows callers to preserve the existing value when omitted or clear it by sending an empty string with private_key_id_set=true. -
getPrivateKeyPem
The PEM encoded private key to authenticate with when auth_mode is client_credentials. -
setPrivateKeyPem
The PEM encoded private key to authenticate with when auth_mode is client_credentials. -
getPrivateKeyPemSet
public boolean getPrivateKeyPemSet()Indicates if a PEM encoded private key is already stored. -
setPrivateKeyPemSet
public void setPrivateKeyPemSet(boolean in) Indicates if a PEM encoded private key is already stored. -
getUserLookup
The Okta user lookup strategy, one of the OktaUserLookup constants. -
setUserLookup
The Okta user lookup strategy, one of the OktaUserLookup constants.
-