OAuthAuthorizationRequest
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.2.0.0)
The pending authorization attempt handed to the CreateAuthorizationUri and ExchangeCodeAsync overrides.
4.2.0+- C#
- VB.NET
public sealed class OAuthAuthorizationRequest
Public NotInheritable Class OAuthAuthorizationRequest
This object is the component-side half of an attempt: the half that only means anything in the session that started it. The durable half — everything a callback needs when it lands in a session that never started the attempt — lives in the application-scoped attempt store.
Properties
CodeChallenge
String: Returns the S256 PKCE code challenge, or null when PKCE is off.
CreatedUtc
DateTime: Returns when this attempt was created, in UTC.
DomainHint
String: Returns the domain hint of this attempt.
FlowMode
OAuthFlowMode: Returns the flow mode of this attempt.
HasNonce
Boolean: Returns whether this attempt carries an OpenID Connect nonce. The nonce itself is deliberately not exposed.
The setter is internal: the pipeline keeps this flag in step with the internal Nonce field, which is the only thing that carries the value, and an application can only read it.
LoginHint
String: Returns the login hint of this attempt.
Parameters
NameValueCollection: Returns the extra authorization parameters of this attempt.
Prompt
OAuthPrompt: Returns the prompt behaviour of this attempt.
Provider
OAuthProvider: Returns the provider this attempt uses.
RedirectUri
String: Returns the exact redirect URI sent with this attempt.
Scopes
IList<String>: Returns the scopes requested by this attempt.
Source
OAuthCallbackSource: Returns the planned or actual delivery path of this attempt.
State
String: Returns the state value of this attempt: a protocol version character, a flow mode character, and 43 base64url characters from a cryptographic source. Single use.