Skip to main content
Version: 4.2

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+
public sealed 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​

Instance member CodeChallenge​

String: Returns the S256 PKCE code challenge, or null when PKCE is off.

Instance member CreatedUtc​

DateTime: Returns when this attempt was created, in UTC.

Instance member DomainHint​

String: Returns the domain hint of this attempt.

Instance member FlowMode​

OAuthFlowMode: Returns the flow mode of this attempt.

Instance member 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.

Instance member LoginHint​

String: Returns the login hint of this attempt.

Instance member Parameters​

NameValueCollection: Returns the extra authorization parameters of this attempt.

Instance member Prompt​

OAuthPrompt: Returns the prompt behaviour of this attempt.

Instance member Provider​

OAuthProvider: Returns the provider this attempt uses.

Instance member RedirectUri​

String: Returns the exact redirect URI sent with this attempt.

Instance member Scopes​

IList<String>: Returns the scopes requested by this attempt.

Instance member Source​

OAuthCallbackSource: Returns the planned or actual delivery path of this attempt.

Instance member 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.