C# Class Tanka.FileSystem.WebApiSample.Providers.ApplicationOAuthProvider

Inheritance: Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerProvider
Mostra file Open project: pekkah/Tanka.FileSystem.WebApi

Public Methods

Method Description
ApplicationOAuthProvider ( string publicClientId ) : System
CreateProperties ( string userName ) : Microsoft.Owin.Security.AuthenticationProperties
GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : Task
TokenEndpoint ( Microsoft.Owin.Security.OAuth.OAuthTokenEndpointContext context ) : Task
ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : Task
ValidateClientRedirectUri ( Microsoft.Owin.Security.OAuth.OAuthValidateClientRedirectUriContext context ) : Task

Method Details

ApplicationOAuthProvider() public method

public ApplicationOAuthProvider ( string publicClientId ) : System
publicClientId string
return System

CreateProperties() public static method

public static CreateProperties ( string userName ) : Microsoft.Owin.Security.AuthenticationProperties
userName string
return Microsoft.Owin.Security.AuthenticationProperties

GrantResourceOwnerCredentials() public method

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

TokenEndpoint() public method

public TokenEndpoint ( Microsoft.Owin.Security.OAuth.OAuthTokenEndpointContext context ) : Task
context Microsoft.Owin.Security.OAuth.OAuthTokenEndpointContext
return Task

ValidateClientAuthentication() public method

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

ValidateClientRedirectUri() public method

public ValidateClientRedirectUri ( Microsoft.Owin.Security.OAuth.OAuthValidateClientRedirectUriContext context ) : Task
context Microsoft.Owin.Security.OAuth.OAuthValidateClientRedirectUriContext
return Task