C# Class TokenAuthentication.Infrastructure.Authentication.SimpleAuthorizationServerProvider

Implements an OAuthAuthorizationServerProvider using a custom authentication backend.
Inheritance: Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerProvider
Afficher le fichier Open project: bytefish/NancyOwinExample

Méthodes publiques

Méthode Description
GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : System.Threading.Tasks.Task
SimpleAuthorizationServerProvider ( IAuthenticationService authService ) : System.Security.Claims
ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
CredentialsAvailable ( OAuthGrantResourceOwnerCredentialsContext context ) : bool
GetCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : Credentials

Method Details

GrantResourceOwnerCredentials() public méthode

public GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : System.Threading.Tasks.Task
context OAuthGrantResourceOwnerCredentialsContext
Résultat System.Threading.Tasks.Task

SimpleAuthorizationServerProvider() public méthode

public SimpleAuthorizationServerProvider ( IAuthenticationService authService ) : System.Security.Claims
authService IAuthenticationService
Résultat System.Security.Claims

ValidateClientAuthentication() public méthode

public ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : System.Threading.Tasks.Task
context Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext
Résultat System.Threading.Tasks.Task