IIdentityProvidersClient
A client that works with Okta IdentityProvider resources.
Task<IIdentityProvider> ActivateIdentityProviderAsync(string idpId, CancellationToken cancellationToken = default)
Activates an inactive IdP.
Task<IJsonWebKey> CloneIdentityProviderKeyAsync(string idpId, string keyId, string targetIdpId, CancellationToken cancellationToken = default)
Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP
Task<IIdentityProvider> CreateIdentityProviderAsync(IIdentityProvider identityProvider, CancellationToken cancellationToken = default)
Adds a new IdP to your organization.
Task<IJsonWebKey> CreateIdentityProviderKeyAsync(IJsonWebKey jsonWebKey, CancellationToken cancellationToken = default)
Adds a new X.509 certificate credential to the IdP key store.
Task<IIdentityProvider> DeactivateIdentityProviderAsync(string idpId, CancellationToken cancellationToken = default)
Deactivates an active IdP.
Removes an IdP from your organization.
Deletes a specific IdP Key Credential by `kid` if it is not currently being used by an Active or Inactive IdP.
Task<ICsr> GenerateCsrForIdentityProviderAsync(ICsrMetadata metadata, string idpId, CancellationToken cancellationToken = default)
Generates a new key pair and returns a Certificate Signing Request for it.
Task<IJsonWebKey> GenerateIdentityProviderSigningKeyAsync(string idpId, int? validityYears, CancellationToken cancellationToken = default)
Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP
Task<ICsr> GetCsrForIdentityProviderAsync(string idpId, string csrId, CancellationToken cancellationToken = default)
Gets a specific Certificate Signing Request model by id
Task<IIdentityProviderApplicationUser> GetIdentityProviderApplicationUserAsync(string idpId, string userId, CancellationToken cancellationToken = default)
Fetches a linked IdP user by ID
Task<IIdentityProvider> GetIdentityProviderAsync(string idpId, CancellationToken cancellationToken = default)
Fetches an IdP by `id`.
Task<IJsonWebKey> GetIdentityProviderKeyAsync(string keyId, CancellationToken cancellationToken = default)
Gets a specific IdP Key Credential by `kid`
Task<IJsonWebKey> GetIdentityProviderSigningKeyAsync(string idpId, string keyId, CancellationToken cancellationToken = default)
Gets a specific IdP Key Credential by `kid`
Task<IIdentityProviderApplicationUser> LinkUserToIdentityProviderAsync(IUserIdentityProviderLinkRequest userIdentityProviderLinkRequest, string idpId, string userId, CancellationToken cancellationToken = default)
Links an Okta user to an existing Social Identity Provider. This does not support the SAML2 Identity Provider Type
Enumerates Certificate Signing Requests for an IdP
ICollectionClient<IIdentityProviderApplicationUser> ListIdentityProviderApplicationUsers(string idpId)
Find all the users linked to an identity provider
Enumerates IdP key credentials.
ICollectionClient<IIdentityProvider> ListIdentityProviders(string q = null, string after = null, int? limit = 20, string type = null)
Enumerates IdPs in your organization with pagination. A subset of IdPs can be returned that match a supported filter expression or query.
Enumerates signing key credentials for an IdP
Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.
Task<IJsonWebKey> PublishBinaryCerCertForIdentityProviderAsync(byte[] certificate, string idpId, string csrId, CancellationToken cancellationToken = default)
Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.
Task<IJsonWebKey> PublishBinaryDerCertForIdentityProviderAsync(byte[] certificate, string idpId, string csrId, CancellationToken cancellationToken = default)
Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.
Task<IJsonWebKey> PublishBinaryPemCertForIdentityProviderAsync(byte[] certificate, string idpId, string csrId, CancellationToken cancellationToken = default)
Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.
Task<IJsonWebKey> PublishCerCertForIdentityProviderAsync(string certificate, string idpId, string csrId, CancellationToken cancellationToken = default)
Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.
Task<IJsonWebKey> PublishDerCertForIdentityProviderAsync(string certificate, string idpId, string csrId, CancellationToken cancellationToken = default)
Update the Certificate Signing Request with a signed X.509 certificate and add it into the signing key credentials for the IdP.
Task RevokeCsrForIdentityProviderAsync(string idpId, string csrId, CancellationToken cancellationToken = default)
Revoke a Certificate Signing Request and delete the key pair from the IdP
Task UnlinkUserFromIdentityProviderAsync(string idpId, string userId, CancellationToken cancellationToken = default)
Removes the link between the Okta user and the IdP user.
Task<IIdentityProvider> UpdateIdentityProviderAsync(IIdentityProvider identityProvider, string idpId, CancellationToken cancellationToken = default)
Updates the configuration for an IdP.