C# Class OAuth.AspNet.AuthServer.OAuthTokenEndpointResponseContext

Provides context information used at the end of a token-endpoint-request.
Inheritance: BaseOAuthEndpointContext
Exibir arquivo Open project: XacronDevelopment/oauth-aspnet Class Usage Examples

Public Methods

Method Description
Issue ( ClaimsPrincipal principal, AuthenticationProperties properties ) : void

Issues the token.

OAuthTokenEndpointResponseContext ( HttpContext context, OAuthAuthorizationServerOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, TokenEndpointRequest tokenEndpointRequest, string accessToken, object>.IDictionary additionalResponseParameters ) : System

Initializes a new instance of the OAuthTokenEndpointResponseContext class

Method Details

Issue() public method

Issues the token.
public Issue ( ClaimsPrincipal principal, AuthenticationProperties properties ) : void
principal System.Security.Claims.ClaimsPrincipal
properties AuthenticationProperties
return void

OAuthTokenEndpointResponseContext() public method

Initializes a new instance of the OAuthTokenEndpointResponseContext class
public OAuthTokenEndpointResponseContext ( HttpContext context, OAuthAuthorizationServerOptions options, Microsoft.AspNetCore.Authentication.AuthenticationTicket ticket, TokenEndpointRequest tokenEndpointRequest, string accessToken, object>.IDictionary additionalResponseParameters ) : System
context HttpContext
options OAuthAuthorizationServerOptions
ticket Microsoft.AspNetCore.Authentication.AuthenticationTicket
tokenEndpointRequest TokenEndpointRequest
accessToken string
additionalResponseParameters object>.IDictionary
return System