Table of Contents

Class SignInOptions

Namespace
Supabase.Gotrue
Assembly
Supabase.Gotrue.dll

Options used for signing in a user.

public class SignInOptions
Inheritance
SignInOptions
Derived
Inherited Members

Properties

FlowType

Represents an OAuth Flow type, defaults to Implicit

PKCE is recommended for mobile and server-side applications.

public Constants.OAuthFlowType FlowType { get; set; }

Property Value

Constants.OAuthFlowType

QueryParams

An object of key-value pairs containing query parameters granted to the OAuth application.

public Dictionary<string, string>? QueryParams { get; set; }

Property Value

Dictionary<string, string>

RedirectTo

A URL or mobile address to send the user to after they are confirmed.

public string? RedirectTo { get; set; }

Property Value

string

Scopes

A space-separated list of scopes granted to the OAuth application.

public string? Scopes { get; set; }

Property Value

string

State

An optional state parameter for CSRF protection (RFC 6749 ยง10.12). If not provided, one will be generated automatically. Store the returned State value and validate it against the state echoed back in the OAuth callback.

public string? State { get; set; }

Property Value

string