TokenRequest class Null safety

Details for a token exchange request.

Implementers

Constructors

TokenRequest(String clientId, String redirectUrl, {String? clientSecret, List<String>? scopes, AuthorizationServiceConfiguration? serviceConfiguration, Map<String, String>? additionalParameters, String? refreshToken, String? grantType, String? issuer, String? discoveryUrl, String? authorizationCode, String? codeVerifier, bool allowInsecureConnections = false})

Properties

additionalParameters Map<String, String>?
Additional parameters to include in the request.
read / write, inherited
allowInsecureConnections bool?
Whether to allow non-HTTPS endpoints. [...]
read / write, inherited
authorizationCode String?
The authorization code.
final
clientId String
The client id.
read / write, inherited
clientSecret String?
The client secret.
final
codeVerifier String?
The code verifier to be sent with the authorization code. This should match the code verifier used when performing the authorization request
final
discoveryUrl String?
The URL of where the discovery document can be found.
read / write, inherited
grantType String?
The grant type. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
issuer String?
The issuer.
read / write, inherited
redirectUrl String
The redirect URL.
read / write, inherited
refreshToken String?
The refresh token.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
scopes List<String>?
The request scopes.
read / write, inherited
serviceConfiguration AuthorizationServiceConfiguration?
The details of the OAuth 2.0 endpoints that can be explicitly when discovery isn't used or not possible.
read / write, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited