Table of Contents

Struct AuthCallback

Namespace
Glitch9.AIDevKit.Auth
public readonly struct AuthCallback

Constructors

AuthCallback(string, string, string, string, string)

public AuthCallback(string rawUrl, string code, string state, string error, string errorDescription)

Parameters

rawUrl string
code string
state string
error string
errorDescription string

Fields

Code

public readonly string Code

Field Value

string

Error

public readonly string Error

Field Value

string

ErrorDescription

public readonly string ErrorDescription

Field Value

string

RawUrl

public readonly string RawUrl

Field Value

string

State

public readonly string State

Field Value

string

Properties

HasCode

public bool HasCode { get; }

Property Value

bool

HasError

public bool HasError { get; }

Property Value

bool

Methods

FromUrl(string)

public static AuthCallback FromUrl(string url)

Parameters

url string

Returns

AuthCallback