Skip to main content

Table of Contents

Methods

Constructor

Methods

Get the scopes that this OAuth2 client supports
string
required
Returns Response<OAuth2.Scopes[]>
Get a redirect URL to Modrinth’s authorize page for this OAuth2 client
string
required
Returns OAuth2.RedirectUrlResponse
async
Exchange a Modrinth access code for an access token
string
required
Returns Response<OAuth2.AuthorizationResponse>
async
Get the Modrinth user associated with the specified token
string
required
Returns Response<User | null>