Table of Contents

Class MvcOptionsExtensions

Namespace
Keycloak.AuthServices.Authorization
Assembly
Keycloak.AuthServices.Authorization.dll

Provides extension methods for configuring MVC options related to protected resources.

public static class MvcOptionsExtensions
Inheritance
MvcOptionsExtensions
Inherited Members

Methods

AddProtectedResources(MvcOptions)

Adds filters and conventions for protecting resources using Keycloak authorization.

public static MvcOptions AddProtectedResources(this MvcOptions options)

Parameters

options MvcOptions

The MvcOptions to configure.

Returns

MvcOptions

The configured MvcOptions.