UNPKG

@microsoft/useragent-sdk

Version:

SDK for building decentralized identity wallets and enterprise agents.

44 lines (43 loc) 909 B
/** * OpenID Connect Self-Issued ID Token Response. */ export default interface AuthenticationResponse { /** * MUST be set to 'https://self-issued.me'. */ iss: 'https://self-issued.me'; /** * thumbprint of the key used to sign response */ sub: string; /** * The redirect url as specified in the OIDC self-issued protocol */ aud: string; /** * Nonce of the challenge */ nonce: string; /** * Expiration as a UTC datetime */ exp: number; /** * Issued at as a UTC datetime */ iat: number; /** * the public key used to check the signature of the ID Token */ sub_jwk: object; /** * DID used to sign the response */ did_comm: { did: string; }; /** * Additional claims requested */ claims?: any; }