AuthorizationRequest class Null safety

The details of an authorization request to get an authorization code.


AuthorizationRequest(String clientId, String redirectUrl, {String? loginHint, List<String>? scopes, AuthorizationServiceConfiguration? serviceConfiguration, Map<String, String>? additionalParameters, String? issuer, String? discoveryUrl, List<String>? promptValues, bool allowInsecureConnections = false, bool preferEphemeralSession = false, String? responseMode})


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
clientId String
The client id.
read / write, inherited
discoveryUrl String?
The URL of where the discovery document can be found.
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
issuer String?
The issuer.
read / write, inherited
loginHint String?
Hint to the Authorization Server about the login identifier the End-User might use to log in.
read / write, inherited
preferEphemeralSession bool?
Whether to use an ephemeral session that prevents cookies and other browser data being shared with the user's normal browser session. [...]
read / write, inherited
promptValues List<String>?
List of ASCII string values that specifies whether the Authorization Server prompts the End-User for reauthentication and consent.
read / write, inherited
redirectUrl String
The redirect URL.
read / write, inherited
responseMode String?
read / write, inherited
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


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


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