Skip to main content

AuthHandler class

Allows to process AuthorizationRequest protocol message and produce JWZ response.

AuthHandler implements IAuthHandler interface

Signature:

export declare class AuthHandler implements IAuthHandler 

Implements: IAuthHandler

Constructors

ConstructorModifiersDescription
(constructor)(_packerMgr, _proofService)Creates an instance of AuthHandler.

Methods

MethodModifiersDescription
handleAuthorizationRequest(did, request, opts)unpacks authorization request and packs authorization response
parseAuthorizationRequest(request)unpacks authorization request