C# Class ModernWebStore.Api.Security.SimpleAuthorizationServerProvider

Inheritance: Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerProvider
显示文件 Open project: andrebaltieri/mwa-api

Public Methods

Method Description
GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : Task
SimpleAuthorizationServerProvider ( IUserApplicationService userService ) : Microsoft.Owin.Security.OAuth
ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : Task

Method Details

GrantResourceOwnerCredentials() public method

public GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : Task
context OAuthGrantResourceOwnerCredentialsContext
return Task

SimpleAuthorizationServerProvider() public method

public SimpleAuthorizationServerProvider ( IUserApplicationService userService ) : Microsoft.Owin.Security.OAuth
userService IUserApplicationService
return Microsoft.Owin.Security.OAuth

ValidateClientAuthentication() public method

public ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : Task
context Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext
return Task