Class DefaultScopeParser.ParseScopeContext
- Namespace
- Fdyay.IdentityServer.Validation
- Assembly
- Fdyay.IdentityServer.Core.dll
One value being parsed, and what the parser made of it.
public class DefaultScopeParser.ParseScopeContext
- Inheritance
-
DefaultScopeParser.ParseScopeContext
- Inherited Members
Properties
Error
Why the value is refused, when it is.
public string? Error { get; }
Property Value
Ignore
Whether the value is dropped from the request without refusing it.
public bool Ignore { get; }
Property Value
ParsedName
The scope it asks for, when the parser named one.
public string? ParsedName { get; }
Property Value
ParsedParameter
The parameter it carries, when the parser found one.
public string? ParsedParameter { get; }
Property Value
RawValue
The value as the request named it.
public string RawValue { get; }
Property Value
Succeeded
Whether the value was neither refused nor dropped.
public bool Succeeded { get; }
Property Value
Methods
SetError(string)
Refuses the value: it becomes an invalid scope.
public void SetError(string error)
Parameters
errorstring
SetIgnore()
Drops the value from the request, as though it had not been named.
public void SetIgnore()
SetParsedValues(string, string)
The scope the value asks for, and the parameter it carries.
public void SetParsedValues(string parsedName, string parsedParameter)