Table of Contents

Class ProtectedResourcePolicyProvider

Namespace
Keycloak.AuthServices.Authorization
Assembly
Keycloak.AuthServices.Authorization.dll
public class ProtectedResourcePolicyProvider : DefaultAuthorizationPolicyProvider, IAuthorizationPolicyProvider
Inheritance
ProtectedResourcePolicyProvider
Implements
Inherited Members

Constructors

ProtectedResourcePolicyProvider(IOptions<AuthorizationOptions>)

public ProtectedResourcePolicyProvider(IOptions<AuthorizationOptions> options)

Parameters

options IOptions<AuthorizationOptions>

Methods

GetPolicyAsync(string)

public override Task<AuthorizationPolicy?> GetPolicyAsync(string policyName)

Parameters

policyName string

Returns

Task<AuthorizationPolicy>