@manta-eu/lib/custom-app
Reference for @manta-eu/lib/custom-app as it is on main.
Type Aliases
CustomAppUserField
CustomAppUserField =
object
Properties
agent?
optionalagent?:boolean
value
value:
CustomAppUserFieldValue
CustomAppUserFieldValue
CustomAppUserFieldValue =
string|number|boolean
CustomAppUserProfile
CustomAppUserProfile =
object
Properties
email?
optionalemail?:string
fields?
optionalfields?:Record<string,CustomAppUserField>
name?
optionalname?:string
CustomAppUserTokenRequest
CustomAppUserTokenRequest =
CustomAppUserProfile&object
Type Declaration
anonymous_id?
optionalanonymous_id?:string
client_id
client_id:
string
client_secret
client_secret:
string
datastores?
optionaldatastores?:string[]
teams?
optionalteams?:string[]
user_id?
optionaluser_id?:string
CustomAppUserTokenResponse
CustomAppUserTokenResponse =
object
Properties
access_token
access_token:
string
expires_in
expires_in:
number
token_type
token_type:
"Bearer"
Variables
anonymousVisitorIdName
constanonymousVisitorIdName:"An anonymous visitor id"="An anonymous visitor id"
customAppClientIdPattern
constcustomAppClientIdPattern:RegExp
customAppClientIdPrefix
constcustomAppClientIdPrefix:"ext-"="ext-"
customAppUserFieldKeyPattern
constcustomAppUserFieldKeyPattern:RegExp
customAppUserIdPattern
constcustomAppUserIdPattern:RegExp
customAppUsersIdpAlias
constcustomAppUsersIdpAlias:"manta-custom-app-users"="manta-custom-app-users"
customAppUsersPath
constcustomAppUsersPath:"/agents/custom-app-users"="/agents/custom-app-users"
customAppUserTokenPath
constcustomAppUserTokenPath:"/agents/custom-app-users/token"
maxCustomAppClientIdLength
constmaxCustomAppClientIdLength:64=64
maxCustomAppUserAgentFieldsLength
constmaxCustomAppUserAgentFieldsLength:4096=4096
maxCustomAppUserDatastores
constmaxCustomAppUserDatastores:50=50
maxCustomAppUserEmailLength
constmaxCustomAppUserEmailLength:320=320
maxCustomAppUserFieldLength
constmaxCustomAppUserFieldLength:1024=1024
maxCustomAppUserFields
constmaxCustomAppUserFields:50=50
maxCustomAppUserNameLength
constmaxCustomAppUserNameLength:200=200
maxCustomAppUserTeams
constmaxCustomAppUserTeams:50=50
Functions
anonymousPrincipalId()
anonymousPrincipalId(
clientId,anonymousId):string
Parameters
clientId
string
anonymousId
string
Returns
string
anonymousSubject()
anonymousSubject(
clientId):string
Parameters
clientId
string
Returns
string
customAppClientIdOfUsername()
customAppClientIdOfUsername(
username):string|undefined
Parameters
username
string | undefined
Returns
string | undefined
customAppClientIdProblem()
customAppClientIdProblem(
clientId):string|undefined
Parameters
clientId
unknown
Returns
string | undefined
customAppUserDatastoresProblem()
customAppUserDatastoresProblem(
datastores):string|undefined
Parameters
datastores
unknown
Returns
string | undefined
customAppUserIdOfSubject()
customAppUserIdOfSubject(
clientId,subject):string|undefined
Parameters
clientId
string
subject
string | undefined
Returns
string | undefined
customAppUserIdProblem()
customAppUserIdProblem(
userId,name?):string|undefined
Parameters
userId
unknown
name?
string = "A custom app user id"
Returns
string | undefined
customAppUsernamePrefix()
customAppUsernamePrefix(
clientId):string
Parameters
clientId
string
Returns
string
customAppUserProfileProblem()
customAppUserProfileProblem(
profile):string|undefined
Parameters
profile
Returns
string | undefined
customAppUserSubject()
customAppUserSubject(
clientId,userId):string
Parameters
clientId
string
userId
string
Returns
string
customAppUserTeamsProblem()
customAppUserTeamsProblem(
teams):string|undefined
Parameters
teams
unknown
Returns
string | undefined
redirectUrlProblem()
redirectUrlProblem(
raw):string|undefined
Parameters
raw
string
Returns
string | undefined