Table of Contents

Class Helpers

Namespace
Supabase.Gotrue
Assembly
Supabase.Gotrue.dll

Utility methods to assist with flow. Includes nonce generation and verification.

public static class Helpers
Inheritance
Helpers
Inherited Members

Methods

GenerateNonce()

Generates a nonce (code verifier) Used with PKCE flow and Apple/Google Sign in. Paired with GeneratePKCENonceVerifier(string)

Sourced from: https://stackoverflow.com/a/65220376/3629438

public static string GenerateNonce()

Returns

string

GeneratePKCENonceVerifier(string)

Generates a PKCE SHA256 code challenge given a nonce (code verifier)

Paired with GenerateNonce()

Sourced from: https://stackoverflow.com/a/65220376/3629438

public static string GeneratePKCENonceVerifier(string codeVerifier)

Parameters

codeVerifier string

Returns

string

GenerateSHA256NonceFromRawNonce(string)

Generates a SHA256 nonce given a rawNonce, used Apple/Google Sign in.

public static string GenerateSHA256NonceFromRawNonce(string rawNonce)

Parameters

rawNonce string

Returns

string