OAuthSession.load

Load OAuthSession data from Vibe.d session.

class OAuthSession
static
load
(,
scope Session httpSession
)

Parameters

settings OAuthSettings

The OAuth settings to use.

httpSession Session

The Vibe.d session.

Return Value

A new OAuthSession object holding the data obtained from the Vibe.d session or null if no saved OAuthSession was found.

Throws

OAuthException if the session data as found in the Vibe.d session appears corrupt or is not valid for the provider referenced by settings.

Meta