Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Validation.​DefaultResourceValidator
Assembly: Duende.IdentityServer
Inheritance: object → DefaultResourceValidator
Implemented Interfaces
Default implementation of IResourceValidator.
Methods
public
System.​Threading.​Tasks.​Task<​ResourceValidationResult>
ValidateRequestedResourcesAsync​(ResourceValidationRequest request)
ValidateScopeAsync​(Models.​Client client,
Models.​Resources resourcesFromStore,
ParsedScopeValue requestedScope,
ResourceValidationResult result)
Validates that the requested scopes is contained in the store, and the client is allowed to request it.
protected
System.​Threading.​Tasks.​Task<​bool>
IsClientAllowedIdentityResourceAsync​(Models.​Client client,
Models.​IdentityResource identity)
Determines if client is allowed access to the identity scope.
protected
System.​Threading.​Tasks.​Task<​bool>
IsClientAllowedApiScopeAsync​(Models.​Client client,
Models.​ApiScope apiScope)
Determines if client is allowed access to the API scope.
protected
System.​Threading.​Tasks.​Task<​bool>
IsClientAllowedOfflineAccessAsync​(Models.​Client client)
Validates if the client is allowed offline_access.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object