Share via


AppServiceAuthenticationHandler Class

Definition

The AppServiceAuthenticationHandler authenticates a caller who has already authenticated using the Login controller.

public class AppServiceAuthenticationHandler : Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<Microsoft.Azure.Mobile.Server.Authentication.AppServiceAuthenticationOptions>
type AppServiceAuthenticationHandler = class
    inherit AuthenticationHandler<AppServiceAuthenticationOptions>
Public Class AppServiceAuthenticationHandler
Inherits AuthenticationHandler(Of AppServiceAuthenticationOptions)
Inheritance
Microsoft.Owin.Security.Infrastructure.AuthenticationHandler<AppServiceAuthenticationOptions>
AppServiceAuthenticationHandler

Constructors

AppServiceAuthenticationHandler(ILogger)

Initializes a new instance of the AppServiceAuthenticationHandler class with the given logger.

Fields

AuthenticationHeaderName

Methods

Authenticate(IOwinRequest, AppServiceAuthenticationOptions)
AuthenticateCoreAsync()
CreateAuthenticationTicket(ClaimsIdentity)
ValidateIdentity(IOwinRequest, AppServiceAuthenticationOptions)

Authenticates the login token from the Microsoft.Owin.IOwinRequest header, if it exists, and returns a ClaimsIdentity if authentication succeeded, or false if authentication failed. If token parsing failed, returns null.

Applies to