Class: Application

Application


new Application()

Properties:
Name Type Description
_embedded hash
_links hash
accessibility ApplicationAccessibility
created dateTime
credentials ApplicationCredentials
features array
id string
label string
lastUpdated dateTime
licensing ApplicationLicensing
name string
profile hash
settings ApplicationSettings
signOnMode ApplicationSignOnMode
status string
visibility ApplicationVisibility

Extends

Methods


assignUserToApplication(appUser)

Parameters:
Name Type Description
appUser AppUser
Returns:
Type
Promise.<AppUser>

cloneApplicationKey(keyId, queryParameters)

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

createApplicationGroupAssignment(groupId, applicationGroupAssignment)

Parameters:
Name Type Description
groupId string
applicationGroupAssignment ApplicationGroupAssignment
Returns:
Type
Promise.<ApplicationGroupAssignment>

generateCsr(csrMetadata)

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

generateKey(queryParameters)

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

getApplicationGroupAssignment(groupId, queryParameters)

Parameters:
Name Type Description
groupId string
queryParameters object
Returns:
Type
Promise.<ApplicationGroupAssignment>

getApplicationKey(keyId)

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

getApplicationUser(userId, queryParameters)

Parameters:
Name Type Description
userId string
queryParameters object
Returns:
Type
Promise.<AppUser>

getCsr(csrId)

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

getOAuth2Token(tokenId, queryParameters)

Parameters:
Name Type Description
tokenId string
queryParameters object
Returns:
Type
Promise.<OAuth2Token>

getScopeConsentGrant(grantId, queryParameters)

Parameters:
Name Type Description
grantId string
queryParameters object
Returns:
Type
Promise.<OAuth2ScopeConsentGrant>

grantConsentToScope(oAuth2ScopeConsentGrant)

Parameters:
Name Type Description
oAuth2ScopeConsentGrant OAuth2ScopeConsentGrant
Returns:
Type
Promise.<OAuth2ScopeConsentGrant>

listApplicationUsers(queryParameters)

Parameters:
Name Type Description
queryParameters object
Returns:
A collection that will yield AppUser instances.
Type
Promise.<Collection>

listCsrs()

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

listGroupAssignments(queryParameters)

Parameters:
Name Type Description
queryParameters object
Returns:
A collection that will yield ApplicationGroupAssignment instances.
Type
Promise.<Collection>

listKeys()

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

listOAuth2Tokens(queryParameters)

Parameters:
Name Type Description
queryParameters object
Returns:
A collection that will yield OAuth2Token instances.
Type
Promise.<Collection>

listScopeConsentGrants(queryParameters)

Parameters:
Name Type Description
queryParameters object
Returns:
A collection that will yield OAuth2ScopeConsentGrant instances.
Type
Promise.<Collection>

publishBinaryCerCert(csrId, string)

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

publishBinaryDerCert(csrId, string)

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

publishBinaryPemCert(csrId, string)

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

publishCerCert(csrId, string)

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

publishDerCert(csrId, string)

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

revokeCsr(csrId)

Parameters:
Name Type Description
csrId string

revokeOAuth2TokenForApplication(tokenId)

Parameters:
Name Type Description
tokenId string

revokeScopeConsentGrant(grantId)

Parameters:
Name Type Description
grantId string

update()

Returns:
Type
Promise.<Application>