Table of Contents

Class ParsedScopeValue

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

One scope value as a request named it, the scope it asks for, and the parameter it carries.

public class ParsedScopeValue
Inheritance
ParsedScopeValue
Inherited Members

Remarks

Duende 8.0.1's ParsedScopeValue, measured.

Constructors

ParsedScopeValue(string)

A value that is its own name, with no parameter.

public ParsedScopeValue(string rawValue)

Parameters

rawValue string

ParsedScopeValue(string, string, string?)

A value naming parsedName, carrying parsedParameter.

public ParsedScopeValue(string rawValue, string parsedName, string? parsedParameter)

Parameters

rawValue string

The value as the request named it, e.g. transaction:123.

parsedName string

The scope it asks for, e.g. transaction.

parsedParameter string

The parameter it carries, e.g. 123; null for none.

Exceptions

ArgumentException

rawValue or parsedName is null, empty or whitespace.

Properties

ParsedName

The scope it asks for — what the client and the resource store are checked against.

public string ParsedName { get; }

Property Value

string

ParsedParameter

The parameter it carries, if any.

public string? ParsedParameter { get; }

Property Value

string

RawValue

The value as the request named it — what is granted, consented to and carried in the tokens.

public string RawValue { get; }

Property Value

string