C# Class Backend.Controllers.AuthorizationController

Inheritance: Microsoft.AspNetCore.Mvc.Controller
Mostrar archivo Open project: aspnet-contrib/AspNet.Security.OpenIdConnect.Samples

Public Methods

Method Description
AuthorizationController ( Backend.Models.ApplicationContext database ) : System

Protected Methods

Method Description
GetApplicationAsync ( string identifier, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
Accept ( CancellationToken cancellationToken ) : Task
Authorize ( CancellationToken cancellationToken ) : Task
Deny ( CancellationToken cancellationToken ) : IActionResult
Logout ( ) : Microsoft.AspNetCore.Mvc.ActionResult
Logout ( CancellationToken cancellationToken ) : Task

Method Details

AuthorizationController() public method

public AuthorizationController ( Backend.Models.ApplicationContext database ) : System
database Backend.Models.ApplicationContext
return System

GetApplicationAsync() protected method

protected GetApplicationAsync ( string identifier, CancellationToken cancellationToken ) : Task
identifier string
cancellationToken System.Threading.CancellationToken
return Task