OAuthGrant

@Serializable
data class OAuthGrant(val client: OAuthAuthorizationClient, val scopes: List<String>, val grantedAt: Instant)(source)

An OAuth grant representing a user's authorization of an OAuth client. Only relevant when the OAuth 2.1 server is enabled in Supabase Auth.

Parameters

client

OAuth client information

scopes

Array of scopes granted to this client

grantedAt

Timestamp when the grant was created (ISO 8601 date-time)

Constructors

Link copied to clipboard
constructor(client: OAuthAuthorizationClient, scopes: List<String>, grantedAt: Instant)

Properties

Link copied to clipboard
Link copied to clipboard
@SerialName(value = "granted_at")
val grantedAt: Instant
Link copied to clipboard