LoopbackCapture

The outcome of parsing a loopback redirect request target: the captured authorization code and state, or an error (the OAuth error parameter) when the authorization server reported a failure.

@safe
struct LoopbackCapture {
string code;
string state;
string error;
string errorDescription;
}

Members

Functions

ok
bool ok()

Whether a usable authorization code was captured.

Variables

iss
string iss;

RFC 9207 iss authorization-response parameter (empty when absent).