Skip to content

abstract AuthorizationProvider<T>

Extended by

Type parameters

T = unknown

Constructors

new AuthorizationProvider()

new AuthorizationProvider<T>(hydrator: (data: string) => string): AuthorizationProvider<T>

Parameters

hydrator

Returns

AuthorizationProvider<T>

Methods

execute()

abstract execute(options: AuthorizationProviderExecuteOptions<T>): Promise<AuthorizationResult>

Parameters

options: AuthorizationProviderExecuteOptions<T>

Returns

Promise<AuthorizationResult>


hydrate()

hydrate(data: string): string

Parameters

data: string

Returns

string