Table of Contents

Class AuthorizeResponse

Namespace
Fdyay.IdentityServer.ResponseHandling
Assembly
Fdyay.IdentityServer.AspNetCore.dll

The authorize endpoint's answer to the client, success or error. Duende's.

public class AuthorizeResponse
Inheritance
AuthorizeResponse
Inherited Members

Properties

Code

The authorization code.

public string? Code { get; set; }

Property Value

string

CustomParameters

Parameters of the host's own, sent back beside this server's.

public Dictionary<string, string> CustomParameters { get; set; }

Property Value

Dictionary<string, string>

Error

The error the client is answered with.

public string? Error { get; set; }

Property Value

string

ErrorDescription

The description sent with Error.

public string? ErrorDescription { get; set; }

Property Value

string

IsError

Whether Error is set.

public bool IsError { get; }

Property Value

bool

Issuer

The iss sent back (RFC 9207).

public string? Issuer { get; set; }

Property Value

string

RedirectUri

Where the answer goes: the request's redirect URI.

public string? RedirectUri { get; }

Property Value

string

Request

The request this answers.

public ValidatedAuthorizeRequest? Request { get; set; }

Property Value

ValidatedAuthorizeRequest

Scope

The scopes granted, space-separated.

public string? Scope { get; }

Property Value

string

Remarks

Ours: the request's RequestedScopes, which the interaction generator narrows to what the user consented to, where Duende's reads ValidatedResources.RawScopeValues. Not sent to the client: Duende sends scope only beside an access token, which the authorize endpoint here never issues.

SessionState

The session_state for the check-session iframe (Session Management 1.0 ยง3).

public string? SessionState { get; set; }

Property Value

string

State

The request's state, carried back.

public string? State { get; }

Property Value

string