@ambassify/guardian-client
v6.0.4
Published
API Client for Guardian service
Downloads
264
Readme
@ambassify/guardian-client
API Client for Guardian service
GuardianApi
GuardianApi.isLegacySuperUserToken(decodedToken)
GuardianApi.isGuestToken(decodedToken)
GuardianApi.interpolateScope(scope, variables)
#logout(deviceId)
#token(payload)
#startPasswordReset(payload)
#getMfaConfig(userId)
#addMfaType(userId, type, config)
#removeMfaType(userId, type)
#getIdentities(userId)
#getIdentity(identityId)
#updateIdenityEmail(identityId, newEmail)
#deleteIdentity(identityId)
#getScopes()
#getScope(key)
#createScope(payload)
#getRoles()
#getRole(id)
#createRole(payload)
#deleteRole(id)
#addScopeToRole(id, scope)
#removeScopeFromRole(id, scope)
#getClients()
#getClient(id)
#createClient(payload)
#updateClient(id, payload)
#patchClient(id, payload)
#deleteClient(id)
#getInstallations()
#getInstallation(id)
#patchInstallation(id, payload)
#deleteInstallation(id)
#getAllApplicationTokens(query, options)
#getApplicationTokens(query, options)
#getApplicationToken(id)
#createApplicationToken(payload)
#deleteApplicationToken(id)
#getLegacyTokens(query, options)
#getLegacyToken(token)
#deleteLegacyToken(token)