Skip to main content

BasicAuth

@quik/authorization


@quik/authorization / Utils / BasicAuth

Variable: BasicAuth

const BasicAuth: object

Defined in: authorization/src/utils/BasicAuth.ts:32

Utility holder for Basic authentication callbacks.

Type Declaration

get

get: () => QBasicAuthenticator = getBasicAuthCallback

Retrieve the registered authentication callback.

Returns

QBasicAuthenticator

set

set: (callback) => void = setBasicAuthCallback

Register the Basic authentication callback.

Parameters

callback

QBasicAuthenticator

The callback used to authenticate a user.

Returns

void

isRegistered

Get Signature

get isRegistered(): boolean

Returns

boolean