Class ResourceValidationResult
- Namespace
- Duende.IdentityServer.Validation
- Assembly
- Duende.IdentityServer.dll
Result of validation of requested scopes and resource indicators.
public class ResourceValidationResult
- Inheritance
-
ResourceValidationResult
- Inherited Members
- Extension Methods
Constructors
ResourceValidationResult()
Ctor
public ResourceValidationResult()
ResourceValidationResult(Resources)
Ctor
public ResourceValidationResult(Resources resources)
Parameters
resources
Resources
ResourceValidationResult(Resources, IEnumerable<ParsedScopeValue>)
Ctor
public ResourceValidationResult(Resources resources, IEnumerable<ParsedScopeValue> parsedScopeValues)
Parameters
resources
ResourcesparsedScopeValues
IEnumerable<ParsedScopeValue>
Properties
InvalidResourceIndicators
The requested resource indicators that are invalid.
public ICollection<string> InvalidResourceIndicators { get; set; }
Property Value
InvalidScopes
The requested scopes that are invalid.
public ICollection<string> InvalidScopes { get; set; }
Property Value
ParsedScopes
The parsed scopes represented by the result.
public ICollection<ParsedScopeValue> ParsedScopes { get; set; }
Property Value
RawScopeValues
The original (raw) scope values represented by the validated result.
public IEnumerable<string> RawScopeValues { get; }
Property Value
Resources
The resources of the result.
public Resources Resources { get; set; }
Property Value
- Resources
Succeeded
Indicates if the result was successful.
public bool Succeeded { get; }
Property Value
Methods
Filter(IEnumerable<string>)
Returns new result filted by the scope values.
public ResourceValidationResult Filter(IEnumerable<string> scopeValues)
Parameters
scopeValues
IEnumerable<string>
Returns
FilterByResourceIndicator(string)
Filters the result by the resource indicator for issuing access tokens.
public ResourceValidationResult FilterByResourceIndicator(string resourceIndicator)
Parameters
resourceIndicator
string