Class DefaultScopeParser.ParseScopeContext
- Namespace
- Duende.IdentityServer.Validation
- Assembly
- Duende.IdentityServer.dll
Models the context for parsing a scope.
public class DefaultScopeParser.ParseScopeContext
- Inheritance
-
DefaultScopeParser.ParseScopeContext
- Inherited Members
Properties
Error
The error encountered parsing the scope.
public string Error { get; }
Property Value
Ignore
Indicates if the scope should be excluded from the parsed results.
public bool Ignore { get; }
Property Value
ParsedName
The parsed name of the scope.
public string ParsedName { get; }
Property Value
ParsedParameter
The parsed parameter value of the scope.
public string ParsedParameter { get; }
Property Value
RawValue
The original (raw) value of the scope.
public string RawValue { get; }
Property Value
Succeeded
Indicates if parsing the scope was successful.
public bool Succeeded { get; }
Property Value
Methods
SetError(string)
Set the error encountered parsing the scope.
public void SetError(string error)
Parameters
error
string
SetIgnore()
Sets that the scope is to be ignore/excluded from the parsed results.
public void SetIgnore()
SetParsedValues(string, string)
Sets the parsed name and parsed parameter value for the scope.
public void SetParsedValues(string parsedName, string parsedParameter)