Class: AuthContinuation

AuthContinuation

new AuthContinuation(payload)

This class represents a JMAP Auth Continuation Response.

Parameters:
Name Type Description
payload Object

The server response of an initial auth request.

Source:

Methods

getMethod(type) → {AuthMethod}

Getter for the AuthMethod instance matching the given authentication type

Parameters:
Name Type Description
type String

The authentication type

Source:
Returns:
Type
AuthMethod

supports(type) → {Boolean}

Checks if the given authentication type is supported by one of the registred auth methods

Parameters:
Name Type Description
type String

The authentication type to check

Source:
Returns:

True if supported, False otherwise

Type
Boolean