UserInfo
Members
response : any
response : anyMethods
constructor(response)
constructor(response)const response = await fetch(/* arguments to fetch the OpenID userinfo endpoint */)
.then(data => data.json())
const userInfo = new UserInfo(response)
// ... or
const userInfo = user.info()id()
id()sub()
sub()firstName()
firstName()lastName()
lastName()birthDate()
birthDate()nationalId()
nationalId()trustLevel()
trustLevel()isEmailVerified()
isEmailVerified()isKycVerified()
isKycVerified()address()
address()email()
email()hasRole(role)
hasRole(role)isInOrganizationWithName(name)
isInOrganizationWithName(name)isInOrganizationWithId(id)
isInOrganizationWithId(id)wallets()
wallets()picture()
picture()Last updated