@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00") public interface IdentityProvider extends ExtensibleResource, Deletable
Modifier and Type | Interface and Description |
---|---|
static class |
IdentityProvider.IssuerModeEnum
Enum issuerMode
|
static class |
IdentityProvider.StatusEnum
Enum status
|
static class |
IdentityProvider.TypeValues |
Modifier and Type | Method and Description |
---|---|
IdentityProvider |
activate()
Activate Identity Provider
Activates an inactive IdP.
|
JsonWebKey |
cloneKey(String keyId,
String targetIdpId)
Clone Signing Key Credential for IdP
Clones a X.509 certificate for an IdP signing key credential from a source IdP to target IdP
|
IdentityProvider |
deactivate()
Deactivate Identity Provider
Deactivates an active IdP.
|
void |
delete()
Delete Identity Provider
Removes an IdP from your organization.
|
void |
deleteSigningCsr(String csrId)
Revoke a Certificate Signing Request and delete the key pair from the IdP
|
Csr |
generateCsr(CsrMetadata metadata)
Generate Certificate Signing Request for IdP
Generates a new key pair and returns a Certificate Signing Request for it.
|
JsonWebKey |
generateSigningKey(Integer validityYears)
Generate New IdP Signing Key Credential
Generates a new X.509 certificate for an IdP signing key credential to be used for signing assertions sent to the IdP
|
Date |
getCreated() |
String |
getId() |
IdentityProvider.IssuerModeEnum |
getIssuerMode() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
String |
getName() |
IdentityProviderPolicy |
getPolicy() |
Protocol |
getProtocol() |
Csr |
getSigningCsr(String csrId)
Gets a specific Certificate Signing Request model by id
|
JsonWebKey |
getSigningKey(String keyId)
Get Signing Key Credential for IdP
Gets a specific IdP Key Credential by `kid`
|
IdentityProvider.StatusEnum |
getStatus() |
String |
getType() |
IdentityProviderApplicationUser |
getUser(String userId)
Fetches a linked IdP user by ID
|
IdentityProviderApplicationUser |
linkUser(String userId,
UserIdentityProviderLinkRequest userIdentityProviderLinkRequest)
Link a user to a Social IdP without a transaction
Links an Okta user to an existing Social Identity Provider.
|
CsrList |
listSigningCsrs()
List Certificate Signing Requests for IdP
Enumerates Certificate Signing Requests for an IdP
|
JsonWebKeyList |
listSigningKeys()
List Signing Key Credentials for IdP
Enumerates signing key credentials for an IdP
|
SocialAuthTokenList |
listSocialAuthTokens(String userId)
Social Authentication Token Operation
Fetches the tokens minted by the Social Authentication Provider when the user authenticates with Okta via Social Auth.
|
IdentityProviderApplicationUserList |
listUsers()
Find Users
Find all the users linked to an identity provider
|
IdentityProvider |
setIssuerMode(IdentityProvider.IssuerModeEnum issuerMode) |
IdentityProvider |
setName(String name) |
IdentityProvider |
setPolicy(IdentityProviderPolicy policy) |
IdentityProvider |
setProtocol(Protocol protocol) |
IdentityProvider |
setStatus(IdentityProvider.StatusEnum status) |
IdentityProvider |
setType(String type) |
void |
unlinkUser(String userId)
Unlink User from IdP
Removes the link between the Okta user and the IdP user.
|
IdentityProvider |
update(IdentityProvider identityProvider)
Update Identity Provider
Updates the configuration for an IdP.
|
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Date getCreated()
String getId()
IdentityProvider.IssuerModeEnum getIssuerMode()
IdentityProvider setIssuerMode(IdentityProvider.IssuerModeEnum issuerMode)
Date getLastUpdated()
String getName()
IdentityProvider setName(String name)
IdentityProviderPolicy getPolicy()
IdentityProvider setPolicy(IdentityProviderPolicy policy)
Protocol getProtocol()
IdentityProvider setProtocol(Protocol protocol)
IdentityProvider.StatusEnum getStatus()
IdentityProvider setStatus(IdentityProvider.StatusEnum status)
String getType()
IdentityProvider setType(String type)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/{idpId}/users/{userId}") IdentityProviderApplicationUser getUser(String userId)
userId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/{idpId}/credentials/csrs/{csrId}") Csr getSigningCsr(String csrId)
csrId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/idps/{idpId}") void delete()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps/{idpId}/credentials/csrs") Csr generateCsr(CsrMetadata metadata)
metadata
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps/{idpId}/lifecycle/activate") IdentityProvider activate()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps/{idpId}/users/{userId}") IdentityProviderApplicationUser linkUser(String userId, UserIdentityProviderLinkRequest userIdentityProviderLinkRequest)
userId
- (required)userIdentityProviderLinkRequest
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/{idpId}/users/{userId}/credentials/tokens") SocialAuthTokenList listSocialAuthTokens(String userId)
userId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/{idpId}/credentials/keys") JsonWebKeyList listSigningKeys()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/idps/{idpId}/credentials/csrs/{csrId}") void deleteSigningCsr(String csrId)
csrId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/{idpId}/credentials/keys/{keyId}") JsonWebKey getSigningKey(String keyId)
keyId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/idps/{idpId}") IdentityProvider update(IdentityProvider identityProvider)
identityProvider
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps/{idpId}/credentials/keys/generate") JsonWebKey generateSigningKey(Integer validityYears)
validityYears
- expiry of the IdP Key Credential (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/{idpId}/users") IdentityProviderApplicationUserList listUsers()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/idps/{idpId}/users/{userId}") void unlinkUser(String userId)
userId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="GET - /api/v1/idps/{idpId}/credentials/csrs") CsrList listSigningCsrs()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps/{idpId}/lifecycle/deactivate") IdentityProvider deactivate()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/idps/{idpId}/credentials/keys/{keyId}/clone") JsonWebKey cloneKey(String keyId, String targetIdpId)
keyId
- (required)targetIdpId
- (required)Copyright © 2017–2023 Okta. All rights reserved.