Table of Contents

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

string

Ignore

Indicates if the scope should be excluded from the parsed results.

public bool Ignore { get; }

Property Value

bool

ParsedName

The parsed name of the scope.

public string ParsedName { get; }

Property Value

string

ParsedParameter

The parsed parameter value of the scope.

public string ParsedParameter { get; }

Property Value

string

RawValue

The original (raw) value of the scope.

public string RawValue { get; }

Property Value

string

Succeeded

Indicates if parsing the scope was successful.

public bool Succeeded { get; }

Property Value

bool

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)

Parameters

parsedName string
parsedParameter string