C# Class AuthorizationServer.Startup

Show file Open project: XacronDevelopment/oauth-aspnet

Public Methods

Method Description
Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void
ConfigureServices ( IServiceCollection services ) : void

Private Methods

Method Description
CreateAuthenticationCode ( AuthenticationTokenCreateContext context ) : void
CreateRefreshToken ( AuthenticationTokenCreateContext context ) : void
GrantClientCredetails ( OAuthGrantClientCredentialsContext context ) : System.Threading.Tasks.Task
GrantResourceOwnerCredentials ( OAuthGrantResourceOwnerCredentialsContext context ) : System.Threading.Tasks.Task
ReceiveAuthenticationCode ( AuthenticationTokenReceiveContext context ) : void
ReceiveRefreshToken ( AuthenticationTokenReceiveContext context ) : void
ValidateClientAuthentication ( OAuthValidateClientAuthenticationContext context ) : System.Threading.Tasks.Task
ValidateClientRedirectUri ( OAuthValidateClientRedirectUriContext context ) : System.Threading.Tasks.Task

Method Details

Configure() public method

public Configure ( IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory ) : void
app IApplicationBuilder
env IHostingEnvironment
loggerFactory ILoggerFactory
return void

ConfigureServices() public method

public ConfigureServices ( IServiceCollection services ) : void
services IServiceCollection
return void