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
rawValuestring
ParsedScopeValue(string, string, string?)
A value naming parsedName, carrying parsedParameter.
public ParsedScopeValue(string rawValue, string parsedName, string? parsedParameter)
Parameters
rawValuestringThe value as the request named it, e.g.
transaction:123.parsedNamestringThe scope it asks for, e.g.
transaction.parsedParameterstringThe parameter it carries, e.g.
123; null for none.
Exceptions
- ArgumentException
rawValueorparsedNameis 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
ParsedParameter
The parameter it carries, if any.
public string? ParsedParameter { get; }
Property Value
RawValue
The value as the request named it — what is granted, consented to and carried in the tokens.
public string RawValue { get; }