Class: Identity

Identity()

new Identity()

Creates an Identity, or an anonymous identity if options parameter is not given see https://datatracker.ietf.org/doc/html/rfc7519#page-9
Parameters:
Name Type Description
options.title string
options.idflowchart string
options.ndetail string
options.name string The subject value MUST either be scoped to be locally unique in the context of the issuer or be globally unique
options.title string
options.sessionguid string
options.email string
options.roles Array.<string> // possible values: user, admin, default ["user"]
Source: