AuthorizationRequest class Null safety

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

Constructors

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

Properties

additionalParameters Map<String, String>?
Additional parameters to include in the request.
read / writeinherited
allowInsecureConnections bool?
Whether to allow non-HTTPS endpoints.
read / writeinherited
clientId String
The client id.
read / writeinherited
discoveryUrl String?
The URL of where the discovery document can be found.
read / writeinherited
hashCode int
The hash code for this object.
read-onlyinherited
issuer String?
The issuer.
read / writeinherited
loginHint String?
Hint to the Authorization Server about the login identifier the End-User might use to log in.
read / writeinherited
nonce String?
The nonce.
read / writeinherited
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 / writeinherited
promptValues List<String>?
List of ASCII string values that specifies whether the Authorization Server prompts the End-User for reauthentication and consent.
read / writeinherited
redirectUrl String
The redirect URL.
read / writeinherited
responseMode String?
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scopes List<String>?
The request scopes.
read / writeinherited
serviceConfiguration AuthorizationServiceConfiguration?
The details of the OAuth 2.0 endpoints that can be explicitly provided when discovery isn't used or not possible.
read / writeinherited

Methods

assertConfigurationInfo() → void
inherited
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