Class: IdentityProvider

IdentityProvider


new IdentityProvider()

Properties:
Name Type Description
_links hash
created dateTime
id string
issuerMode string
lastUpdated dateTime
name string
policy IdentityProviderPolicy
protocol Protocol
status string
type string

Extends

Methods


activate()

Returns:
Type
Promise.<IdentityProvider>

cloneKey(keyId, queryParameters)

Parameters:
Name Type Description
keyId string
queryParameters object
Returns:
Type
Promise.<JsonWebKey>

deactivate()

Returns:
Type
Promise.<IdentityProvider>

deleteSigningCsr(csrId)

Parameters:
Name Type Description
csrId string

generateCsr(csrMetadata)

Parameters:
Name Type Description
csrMetadata CsrMetadata
Returns:
Type
Promise.<Csr>

generateSigningKey(queryParameters)

Parameters:
Name Type Description
queryParameters object
Returns:
Type
Promise.<JsonWebKey>

getSigningCsr(csrId)

Parameters:
Name Type Description
csrId string
Returns:
Type
Promise.<Csr>

getSigningKey(keyId)

Parameters:
Name Type Description
keyId string
Returns:
Type
Promise.<JsonWebKey>

getUser(userId)

Parameters:
Name Type Description
userId string
Returns:
Type
Promise.<IdentityProviderApplicationUser>

linkUser(userId, userIdentityProviderLinkRequest)

Parameters:
Name Type Description
userId string
userIdentityProviderLinkRequest UserIdentityProviderLinkRequest
Returns:
Type
Promise.<IdentityProviderApplicationUser>

listSigningCsrs()

Returns:
A collection that will yield Csr instances.
Type
Promise.<Collection>

listSigningKeys()

Returns:
A collection that will yield JsonWebKey instances.
Type
Promise.<Collection>

listSocialAuthTokens(userId)

Parameters:
Name Type Description
userId string
Returns:
A collection that will yield SocialAuthToken instances.
Type
Promise.<Collection>

listUsers()

Returns:
A collection that will yield IdentityProviderApplicationUser instances.
Type
Promise.<Collection>

unlinkUser(userId)

Parameters:
Name Type Description
userId string

update()

Returns:
Type
Promise.<IdentityProvider>