Package com.okta.sdk.resource.api
Class IdentityProviderApi
java.lang.Object
com.okta.sdk.resource.api.IdentityProviderApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class IdentityProviderApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactivateIdentityProvider
(String idpId) Activate an Identity Provider Activates an inactive IdPactivateIdentityProvider
(String idpId, Map<String, String> additionalHeaders) Activate an Identity Provider Activates an inactive IdPcloneIdentityProviderKey
(String idpId, String idpKeyId, String targetIdpId) Clone a Signing Credential Key Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdPcloneIdentityProviderKey
(String idpId, String idpKeyId, String targetIdpId, Map<String, String> additionalHeaders) Clone a Signing Credential Key Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdPcreateIdentityProvider
(IdentityProvider identityProvider) Create an Identity Provider Creates a new identity provider integrationcreateIdentityProvider
(IdentityProvider identityProvider, Map<String, String> additionalHeaders) Create an Identity Provider Creates a new identity provider integrationcreateIdentityProviderKey
(JsonWebKey jsonWebKey) Create an X.509 Certificate Public Key Creates a new X.509 certificate credential to the IdP key store.createIdentityProviderKey
(JsonWebKey jsonWebKey, Map<String, String> additionalHeaders) Create an X.509 Certificate Public Key Creates a new X.509 certificate credential to the IdP key store.deactivateIdentityProvider
(String idpId) Deactivate an Identity Provider Deactivates an active IdPdeactivateIdentityProvider
(String idpId, Map<String, String> additionalHeaders) Deactivate an Identity Provider Deactivates an active IdPvoid
deleteIdentityProvider
(String idpId) Delete an Identity Provider Deletes an identity provider integration by `idpId`void
deleteIdentityProvider
(String idpId, Map<String, String> additionalHeaders) Delete an Identity Provider Deletes an identity provider integration by `idpId`void
deleteIdentityProviderKey
(String idpKeyId) Delete a Signing Credential Key Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdPvoid
deleteIdentityProviderKey
(String idpKeyId, Map<String, String> additionalHeaders) Delete a Signing Credential Key Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdPgenerateCsrForIdentityProvider
(String idpId, CsrMetadata metadata) Generate a Certificate Signing Request Generates a new key pair and returns a Certificate Signing Request for itgenerateCsrForIdentityProvider
(String idpId, CsrMetadata metadata, Map<String, String> additionalHeaders) Generate a Certificate Signing Request Generates a new key pair and returns a Certificate Signing Request for itgenerateIdentityProviderSigningKey
(String idpId, Integer validityYears) Generate a new Signing Credential Key Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdPgenerateIdentityProviderSigningKey
(String idpId, Integer validityYears, Map<String, String> additionalHeaders) Generate a new Signing Credential Key Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdPgetCsrForIdentityProvider
(String idpId, String idpCsrId) Retrieve a Certificate Signing Request Retrieves a specific Certificate Signing Request model by idRetrieve a Certificate Signing Request Retrieves a specific Certificate Signing Request model by idgetIdentityProvider
(String idpId) Retrieve an Identity Provider Retrieves an identity provider integration by `idpId`getIdentityProvider
(String idpId, Map<String, String> additionalHeaders) Retrieve an Identity Provider Retrieves an identity provider integration by `idpId`getIdentityProviderApplicationUser
(String idpId, String userId) Retrieve a User Retrieves a linked IdP user by IDgetIdentityProviderApplicationUser
(String idpId, String userId, Map<String, String> additionalHeaders) Retrieve a User Retrieves a linked IdP user by IDgetIdentityProviderKey
(String idpKeyId) Retrieve an Credential Key Retrieves a specific IdP Key Credential by `kid`getIdentityProviderKey
(String idpKeyId, Map<String, String> additionalHeaders) Retrieve an Credential Key Retrieves a specific IdP Key Credential by `kid`getIdentityProviderSigningKey
(String idpId, String idpKeyId) Retrieve a Signing Credential Key Retrieves a specific IdP Key Credential by `kid`Retrieve a Signing Credential Key Retrieves a specific IdP Key Credential by `kid`protected static com.fasterxml.jackson.databind.ObjectMapper
linkUserToIdentityProvider
(String idpId, String userId, UserIdentityProviderLinkRequest userIdentityProviderLinkRequest) Link a User to a Social IdP Links an Okta user to an existing Social Identity Provider.linkUserToIdentityProvider
(String idpId, String userId, UserIdentityProviderLinkRequest userIdentityProviderLinkRequest, Map<String, String> additionalHeaders) Link a User to a Social IdP Links an Okta user to an existing Social Identity Provider.List all Certificate Signing Requests Lists all Certificate Signing Requests for an IdPlistCsrsForIdentityProvider
(String idpId, Map<String, String> additionalHeaders) List all Certificate Signing Requests Lists all Certificate Signing Requests for an IdPList all Users Lists all users linked to the identity providerlistIdentityProviderApplicationUsers
(String idpId, Map<String, String> additionalHeaders) List all Users Lists all users linked to the identity providerlistIdentityProviderKeys
(String after, Integer limit) List all Credential Keys Lists all IdP key credentialsList all Credential Keys Lists all IdP key credentialslistIdentityProviders
(String q, String after, Integer limit, String type) List all Identity Providers Lists all identity provider integrations with pagination.listIdentityProviders
(String q, String after, Integer limit, String type, Map<String, String> additionalHeaders) List all Identity Providers Lists all identity provider integrations with pagination.List all Signing Credential Keys Lists all signing key credentials for an IdPlistIdentityProviderSigningKeys
(String idpId, Map<String, String> additionalHeaders) List all Signing Credential Keys Lists all signing key credentials for an IdPlistSocialAuthTokens
(String idpId, String userId) List all Tokens from a OIDC Identity Provider Lists the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social AuthList all Tokens from a OIDC Identity Provider Lists the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social AuthpublishCsrForIdentityProvider
(String idpId, String idpCsrId, File body) Publish a Certificate Signing Request Publishes a certificate signing request with a signed X.509 certificate and adds it into the signing key credentials for the IdPpublishCsrForIdentityProvider
(String idpId, String idpCsrId, File body, Map<String, String> additionalHeaders) Publish a Certificate Signing Request Publishes a certificate signing request with a signed X.509 certificate and adds it into the signing key credentials for the IdPreplaceIdentityProvider
(String idpId, IdentityProvider identityProvider) Replace an Identity Provider Replaces an identity provider integration by `idpId`replaceIdentityProvider
(String idpId, IdentityProvider identityProvider, Map<String, String> additionalHeaders) Replace an Identity Provider Replaces an identity provider integration by `idpId`void
revokeCsrForIdentityProvider
(String idpId, String idpCsrId) Revoke a Certificate Signing Request Revokes a certificate signing request and deletes the key pair from the IdPvoid
Revoke a Certificate Signing Request Revokes a certificate signing request and deletes the key pair from the IdPvoid
setApiClient
(ApiClient apiClient) void
unlinkUserFromIdentityProvider
(String idpId, String userId) Unlink a User from IdP Unlinks the link between the Okta user and the IdP uservoid
Unlink a User from IdP Unlinks the link between the Okta user and the IdP user
-
Constructor Details
-
IdentityProviderApi
public IdentityProviderApi() -
IdentityProviderApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
activateIdentityProvider
Activate an Identity Provider Activates an inactive IdP- Parameters:
idpId
- `id` of IdP (required)- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
activateIdentityProvider
public IdentityProvider activateIdentityProvider(String idpId, Map<String, String> additionalHeaders) throws ApiExceptionActivate an Identity Provider Activates an inactive IdP- Parameters:
idpId
- `id` of IdP (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
cloneIdentityProviderKey
public JsonWebKey cloneIdentityProviderKey(String idpId, String idpKeyId, String targetIdpId) throws ApiException Clone a Signing Credential Key Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP- Parameters:
idpId
- `id` of IdP (required)idpKeyId
- `id` of IdP Key (required)targetIdpId
- (required)- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
cloneIdentityProviderKey
public JsonWebKey cloneIdentityProviderKey(String idpId, String idpKeyId, String targetIdpId, Map<String, String> additionalHeaders) throws ApiExceptionClone a Signing Credential Key Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP- Parameters:
idpId
- `id` of IdP (required)idpKeyId
- `id` of IdP Key (required)targetIdpId
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
createIdentityProvider
public IdentityProvider createIdentityProvider(IdentityProvider identityProvider) throws ApiException Create an Identity Provider Creates a new identity provider integration- Parameters:
identityProvider
- (required)- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
createIdentityProvider
public IdentityProvider createIdentityProvider(IdentityProvider identityProvider, Map<String, String> additionalHeaders) throws ApiExceptionCreate an Identity Provider Creates a new identity provider integration- Parameters:
identityProvider
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
createIdentityProviderKey
Create an X.509 Certificate Public Key Creates a new X.509 certificate credential to the IdP key store.- Parameters:
jsonWebKey
- (required)- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
createIdentityProviderKey
public JsonWebKey createIdentityProviderKey(JsonWebKey jsonWebKey, Map<String, String> additionalHeaders) throws ApiExceptionCreate an X.509 Certificate Public Key Creates a new X.509 certificate credential to the IdP key store.- Parameters:
jsonWebKey
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
deactivateIdentityProvider
Deactivate an Identity Provider Deactivates an active IdP- Parameters:
idpId
- `id` of IdP (required)- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
deactivateIdentityProvider
public IdentityProvider deactivateIdentityProvider(String idpId, Map<String, String> additionalHeaders) throws ApiExceptionDeactivate an Identity Provider Deactivates an active IdP- Parameters:
idpId
- `id` of IdP (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
deleteIdentityProvider
Delete an Identity Provider Deletes an identity provider integration by `idpId`- Parameters:
idpId
- `id` of IdP (required)- Throws:
ApiException
- if fails to make API call
-
deleteIdentityProvider
public void deleteIdentityProvider(String idpId, Map<String, String> additionalHeaders) throws ApiExceptionDelete an Identity Provider Deletes an identity provider integration by `idpId`- Parameters:
idpId
- `id` of IdP (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
deleteIdentityProviderKey
Delete a Signing Credential Key Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP- Parameters:
idpKeyId
- `id` of IdP Key (required)- Throws:
ApiException
- if fails to make API call
-
deleteIdentityProviderKey
public void deleteIdentityProviderKey(String idpKeyId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Signing Credential Key Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP- Parameters:
idpKeyId
- `id` of IdP Key (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
generateCsrForIdentityProvider
Generate a Certificate Signing Request Generates a new key pair and returns a Certificate Signing Request for it- Parameters:
idpId
- `id` of IdP (required)metadata
- (required)- Returns:
- Csr
- Throws:
ApiException
- if fails to make API call
-
generateCsrForIdentityProvider
public Csr generateCsrForIdentityProvider(String idpId, CsrMetadata metadata, Map<String, String> additionalHeaders) throws ApiExceptionGenerate a Certificate Signing Request Generates a new key pair and returns a Certificate Signing Request for it- Parameters:
idpId
- `id` of IdP (required)metadata
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- Csr
- Throws:
ApiException
- if fails to make API call
-
generateIdentityProviderSigningKey
public JsonWebKey generateIdentityProviderSigningKey(String idpId, Integer validityYears) throws ApiException Generate a new Signing Credential Key Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP- Parameters:
idpId
- `id` of IdP (required)validityYears
- expiry of the IdP Key Credential (required)- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
generateIdentityProviderSigningKey
public JsonWebKey generateIdentityProviderSigningKey(String idpId, Integer validityYears, Map<String, String> additionalHeaders) throws ApiExceptionGenerate a new Signing Credential Key Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP- Parameters:
idpId
- `id` of IdP (required)validityYears
- expiry of the IdP Key Credential (required)additionalHeaders
- additionalHeaders for this call- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
getCsrForIdentityProvider
Retrieve a Certificate Signing Request Retrieves a specific Certificate Signing Request model by id- Parameters:
idpId
- `id` of IdP (required)idpCsrId
- `id` of the IdP CSR (required)- Returns:
- Csr
- Throws:
ApiException
- if fails to make API call
-
getCsrForIdentityProvider
public Csr getCsrForIdentityProvider(String idpId, String idpCsrId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Certificate Signing Request Retrieves a specific Certificate Signing Request model by id- Parameters:
idpId
- `id` of IdP (required)idpCsrId
- `id` of the IdP CSR (required)additionalHeaders
- additionalHeaders for this call- Returns:
- Csr
- Throws:
ApiException
- if fails to make API call
-
getIdentityProvider
Retrieve an Identity Provider Retrieves an identity provider integration by `idpId`- Parameters:
idpId
- `id` of IdP (required)- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
getIdentityProvider
public IdentityProvider getIdentityProvider(String idpId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Identity Provider Retrieves an identity provider integration by `idpId`- Parameters:
idpId
- `id` of IdP (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
getIdentityProviderApplicationUser
public IdentityProviderApplicationUser getIdentityProviderApplicationUser(String idpId, String userId) throws ApiException Retrieve a User Retrieves a linked IdP user by ID- Parameters:
idpId
- `id` of IdP (required)userId
- (required)- Returns:
- IdentityProviderApplicationUser
- Throws:
ApiException
- if fails to make API call
-
getIdentityProviderApplicationUser
public IdentityProviderApplicationUser getIdentityProviderApplicationUser(String idpId, String userId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a User Retrieves a linked IdP user by ID- Parameters:
idpId
- `id` of IdP (required)userId
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentityProviderApplicationUser
- Throws:
ApiException
- if fails to make API call
-
getIdentityProviderKey
Retrieve an Credential Key Retrieves a specific IdP Key Credential by `kid`- Parameters:
idpKeyId
- `id` of IdP Key (required)- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
getIdentityProviderKey
public JsonWebKey getIdentityProviderKey(String idpKeyId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve an Credential Key Retrieves a specific IdP Key Credential by `kid`- Parameters:
idpKeyId
- `id` of IdP Key (required)additionalHeaders
- additionalHeaders for this call- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
getIdentityProviderSigningKey
Retrieve a Signing Credential Key Retrieves a specific IdP Key Credential by `kid`- Parameters:
idpId
- `id` of IdP (required)idpKeyId
- `id` of IdP Key (required)- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
getIdentityProviderSigningKey
public JsonWebKey getIdentityProviderSigningKey(String idpId, String idpKeyId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Signing Credential Key Retrieves a specific IdP Key Credential by `kid`- Parameters:
idpId
- `id` of IdP (required)idpKeyId
- `id` of IdP Key (required)additionalHeaders
- additionalHeaders for this call- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
linkUserToIdentityProvider
public IdentityProviderApplicationUser linkUserToIdentityProvider(String idpId, String userId, UserIdentityProviderLinkRequest userIdentityProviderLinkRequest) throws ApiException Link a User to a Social IdP Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type- Parameters:
idpId
- `id` of IdP (required)userId
- (required)userIdentityProviderLinkRequest
- (required)- Returns:
- IdentityProviderApplicationUser
- Throws:
ApiException
- if fails to make API call
-
linkUserToIdentityProvider
public IdentityProviderApplicationUser linkUserToIdentityProvider(String idpId, String userId, UserIdentityProviderLinkRequest userIdentityProviderLinkRequest, Map<String, String> additionalHeaders) throws ApiExceptionLink a User to a Social IdP Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type- Parameters:
idpId
- `id` of IdP (required)userId
- (required)userIdentityProviderLinkRequest
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentityProviderApplicationUser
- Throws:
ApiException
- if fails to make API call
-
listCsrsForIdentityProvider
List all Certificate Signing Requests Lists all Certificate Signing Requests for an IdP- Parameters:
idpId
- `id` of IdP (required)- Returns:
- List<Csr>
- Throws:
ApiException
- if fails to make API call
-
listCsrsForIdentityProvider
public List<Csr> listCsrsForIdentityProvider(String idpId, Map<String, String> additionalHeaders) throws ApiExceptionList all Certificate Signing Requests Lists all Certificate Signing Requests for an IdP- Parameters:
idpId
- `id` of IdP (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<Csr>
- Throws:
ApiException
- if fails to make API call
-
listIdentityProviderApplicationUsers
public List<IdentityProviderApplicationUser> listIdentityProviderApplicationUsers(String idpId) throws ApiException List all Users Lists all users linked to the identity provider- Parameters:
idpId
- `id` of IdP (required)- Returns:
- List<IdentityProviderApplicationUser>
- Throws:
ApiException
- if fails to make API call
-
listIdentityProviderApplicationUsers
public List<IdentityProviderApplicationUser> listIdentityProviderApplicationUsers(String idpId, Map<String, String> additionalHeaders) throws ApiExceptionList all Users Lists all users linked to the identity provider- Parameters:
idpId
- `id` of IdP (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<IdentityProviderApplicationUser>
- Throws:
ApiException
- if fails to make API call
-
listIdentityProviderKeys
List all Credential Keys Lists all IdP key credentials- Parameters:
after
- Specifies the pagination cursor for the next page of keys (optional)limit
- Specifies the number of key results in a page (optional, default to 20)- Returns:
- List<JsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
listIdentityProviderKeys
public List<JsonWebKey> listIdentityProviderKeys(String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Credential Keys Lists all IdP key credentials- Parameters:
after
- Specifies the pagination cursor for the next page of keys (optional)limit
- Specifies the number of key results in a page (optional, default to 20)additionalHeaders
- additionalHeaders for this call- Returns:
- List<JsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
listIdentityProviderSigningKeys
List all Signing Credential Keys Lists all signing key credentials for an IdP- Parameters:
idpId
- `id` of IdP (required)- Returns:
- List<JsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
listIdentityProviderSigningKeys
public List<JsonWebKey> listIdentityProviderSigningKeys(String idpId, Map<String, String> additionalHeaders) throws ApiExceptionList all Signing Credential Keys Lists all signing key credentials for an IdP- Parameters:
idpId
- `id` of IdP (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<JsonWebKey>
- Throws:
ApiException
- if fails to make API call
-
listIdentityProviders
public List<IdentityProvider> listIdentityProviders(String q, String after, Integer limit, String type) throws ApiException List all Identity Providers Lists all identity provider integrations with pagination. A subset of IdPs can be returned that match a supported filter expression or query.- Parameters:
q
- Searches the name property of IdPs for matching value (optional)after
- Specifies the pagination cursor for the next page of IdPs (optional)limit
- Specifies the number of IdP results in a page (optional, default to 20)type
- Filters IdPs by type (optional)- Returns:
- List<IdentityProvider>
- Throws:
ApiException
- if fails to make API call
-
listIdentityProviders
public List<IdentityProvider> listIdentityProviders(String q, String after, Integer limit, String type, Map<String, String> additionalHeaders) throws ApiExceptionList all Identity Providers Lists all identity provider integrations with pagination. A subset of IdPs can be returned that match a supported filter expression or query.- Parameters:
q
- Searches the name property of IdPs for matching value (optional)after
- Specifies the pagination cursor for the next page of IdPs (optional)limit
- Specifies the number of IdP results in a page (optional, default to 20)type
- Filters IdPs by type (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- List<IdentityProvider>
- Throws:
ApiException
- if fails to make API call
-
listSocialAuthTokens
List all Tokens from a OIDC Identity Provider Lists the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth- Parameters:
idpId
- `id` of IdP (required)userId
- (required)- Returns:
- List<SocialAuthToken>
- Throws:
ApiException
- if fails to make API call
-
listSocialAuthTokens
public List<SocialAuthToken> listSocialAuthTokens(String idpId, String userId, Map<String, String> additionalHeaders) throws ApiExceptionList all Tokens from a OIDC Identity Provider Lists the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth- Parameters:
idpId
- `id` of IdP (required)userId
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- List<SocialAuthToken>
- Throws:
ApiException
- if fails to make API call
-
publishCsrForIdentityProvider
public JsonWebKey publishCsrForIdentityProvider(String idpId, String idpCsrId, File body) throws ApiException Publish a Certificate Signing Request Publishes a certificate signing request with a signed X.509 certificate and adds it into the signing key credentials for the IdP- Parameters:
idpId
- `id` of IdP (required)idpCsrId
- `id` of the IdP CSR (required)body
- (required)- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
publishCsrForIdentityProvider
public JsonWebKey publishCsrForIdentityProvider(String idpId, String idpCsrId, File body, Map<String, String> additionalHeaders) throws ApiExceptionPublish a Certificate Signing Request Publishes a certificate signing request with a signed X.509 certificate and adds it into the signing key credentials for the IdP- Parameters:
idpId
- `id` of IdP (required)idpCsrId
- `id` of the IdP CSR (required)body
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- JsonWebKey
- Throws:
ApiException
- if fails to make API call
-
replaceIdentityProvider
public IdentityProvider replaceIdentityProvider(String idpId, IdentityProvider identityProvider) throws ApiException Replace an Identity Provider Replaces an identity provider integration by `idpId`- Parameters:
idpId
- `id` of IdP (required)identityProvider
- (required)- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
replaceIdentityProvider
public IdentityProvider replaceIdentityProvider(String idpId, IdentityProvider identityProvider, Map<String, String> additionalHeaders) throws ApiExceptionReplace an Identity Provider Replaces an identity provider integration by `idpId`- Parameters:
idpId
- `id` of IdP (required)identityProvider
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- IdentityProvider
- Throws:
ApiException
- if fails to make API call
-
revokeCsrForIdentityProvider
Revoke a Certificate Signing Request Revokes a certificate signing request and deletes the key pair from the IdP- Parameters:
idpId
- `id` of IdP (required)idpCsrId
- `id` of the IdP CSR (required)- Throws:
ApiException
- if fails to make API call
-
revokeCsrForIdentityProvider
public void revokeCsrForIdentityProvider(String idpId, String idpCsrId, Map<String, String> additionalHeaders) throws ApiExceptionRevoke a Certificate Signing Request Revokes a certificate signing request and deletes the key pair from the IdP- Parameters:
idpId
- `id` of IdP (required)idpCsrId
- `id` of the IdP CSR (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
unlinkUserFromIdentityProvider
Unlink a User from IdP Unlinks the link between the Okta user and the IdP user- Parameters:
idpId
- `id` of IdP (required)userId
- (required)- Throws:
ApiException
- if fails to make API call
-
unlinkUserFromIdentityProvider
public void unlinkUserFromIdentityProvider(String idpId, String userId, Map<String, String> additionalHeaders) throws ApiExceptionUnlink a User from IdP Unlinks the link between the Okta user and the IdP user- Parameters:
idpId
- `id` of IdP (required)userId
- (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-