OAuthAuthorizationServerProvider.AuthorizationEndpointResponse Method

Called before the AuthorizationEndpoint redirects its response to the caller. The response could be the token, when using implicit flow or the AuthorizationEndpoint when using authorization code flow. An application may implement this call in order to do any final modification of the claims being used to issue access or refresh tokens. This call may also be used in order to add additional response parameters to the authorization endpoint's response.

Namespace:  Microsoft.Owin.Security.OAuth
Assembly:  Microsoft.Owin.Security.OAuth (in Microsoft.Owin.Security.OAuth.dll)

Syntax

'Declaration
Public Overridable Function AuthorizationEndpointResponse ( _
    context As OAuthAuthorizationEndpointResponseContext _
) As Task
'Usage
Dim instance As OAuthAuthorizationServerProvider 
Dim context As OAuthAuthorizationEndpointResponseContext 
Dim returnValue As Task 

returnValue = instance.AuthorizationEndpointResponse(context)
public virtual Task AuthorizationEndpointResponse(
    OAuthAuthorizationEndpointResponseContext context
)
public:
virtual Task^ AuthorizationEndpointResponse(
    OAuthAuthorizationEndpointResponseContext^ context
)
abstract AuthorizationEndpointResponse : 
        context:OAuthAuthorizationEndpointResponseContext -> Task  
override AuthorizationEndpointResponse : 
        context:OAuthAuthorizationEndpointResponseContext -> Task
public function AuthorizationEndpointResponse(
    context : OAuthAuthorizationEndpointResponseContext
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
Task to enable asynchronous execution

Implements

IOAuthAuthorizationServerProvider.AuthorizationEndpointResponse(OAuthAuthorizationEndpointResponseContext)

See Also

Reference

OAuthAuthorizationServerProvider Class

Microsoft.Owin.Security.OAuth Namespace