AuthorizationRequest class

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

Constructors

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})

Properties

additionalParameters Map<String, String>?
Additional parameters to include in the request.
getter/setter pairinherited
allowInsecureConnections bool?
Whether to allow non-HTTPS endpoints.
getter/setter pairinherited
clientId String
The client id.
getter/setter pairinherited
discoveryUrl String?
The URL of where the discovery document can be found.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
issuer String?
The issuer.
getter/setter pairinherited
loginHint String?
Hint to the Authorization Server about the login identifier the End-User might use to log in.
getter/setter pairinherited
preferEphemeralSession bool?
Whether to use an ephemeral session that prevents cookies and other browser data being shared with the user's normal browser session.
getter/setter pairinherited
promptValues List<String>?
List of ASCII string values that specifies whether the Authorization Server prompts the End-User for reauthentication and consent.
getter/setter pairinherited
redirectUrl String
The redirect URL.
getter/setter pairinherited
responseMode String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scopes List<String>?
The request scopes.
getter/setter pairinherited
serviceConfiguration AuthorizationServiceConfiguration?
The details of the OAuth 2.0 endpoints that can be explicitly when discovery isn't used or not possible.
getter/setter pairinherited

Methods

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

Operators

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