C# Class UniAlltid.Language.API.Providers.ApplicationOAuthProvider

Inheritance: Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerProvider
Show file Open project: unipluss/UniAlltid.Language

Public Methods

Method Description
ApplicationOAuthProvider ( string publicClientId ) : System
CreateProperties ( string userName ) : Microsoft.Owin.Security.AuthenticationProperties
GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : System.Threading.Tasks.Task
TokenEndpoint ( Microsoft.Owin.Security.OAuth.OAuthTokenEndpointContext context ) : System.Threading.Tasks.Task
ValidateClientAuthentication ( Microsoft.Owin.Security.OAuth.OAuthValidateClientAuthenticationContext context ) : System.Threading.Tasks.Task
ValidateClientRedirectUri ( Microsoft.Owin.Security.OAuth.OAuthValidateClientRedirectUriContext context ) : System.Threading.Tasks.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 ) : System.Threading.Tasks.Task
context OAuthGrantResourceOwnerCredentialsContext
return System.Threading.Tasks.Task

TokenEndpoint() public method

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

ValidateClientAuthentication() public method

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

ValidateClientRedirectUri() public method

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