ServiceAuthenticationFilter Class
Represents an authentication filter that authenticates via OWIN middleware and creates a ServiceUser as IPrincipal.
Namespace: Microsoft.WindowsAzure.Mobile.Service.Security
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Inheritance Hierarchy
System.Object
Microsoft.WindowsAzure.Mobile.Service.Security.ServiceAuthenticationFilter
Syntax
public class ServiceAuthenticationFilter : IAuthenticationFilter,
IFilter
public ref class ServiceAuthenticationFilter : IAuthenticationFilter,
IFilter
type ServiceAuthenticationFilter =
class
interface IAuthenticationFilter
interface IFilter
end
Public Class ServiceAuthenticationFilter
Implements IAuthenticationFilter, IFilter
Constructors
Name | Description | |
---|---|---|
ServiceAuthenticationFilter(IServiceTokenHandler) | Initializes a new instance of the ServiceAuthenticationFilter class. |
|
ServiceAuthenticationFilter(String, IServiceTokenHandler) | Initializes a new instance of the ServiceAuthenticationFilter class. |
Properties
Name | Description | |
---|---|---|
AllowMultiple | Gets or sets a value indicating whether more than one instance of this attribute can be specified for a single program element. |
|
AuthenticationType | Gets or sets the authentication type of the OWIN middleware used. |
Methods
Name | Description | |
---|---|---|
AddResponseChallenge(AuthenticationResponseChallenge) | Adds the response challenge provided by the OWIN middleware identified by the given M:AuthenticationType. This is called as part of the creating an authentication challenge to a given request. |
|
AuthenticateAsync(HttpAuthenticationContext, CancellationToken) | Asynchronously authenticates the current request by looking for an OWIN authentication middleware with the given M:AuthenticationType and delegating authentication to that middleware. |
|
AuthenticateAsync(IAuthenticationManager) | Asynchronously authenticates the current request by looking for an OWIN authentication middleware with the given M:AuthenticationType and delegating authentication to that middleware. |
|
ChallengeAsync(HttpAuthenticationChallengeContext, CancellationToken) | Issues an authentication challenge to the current request by looking for an OWIN authentication middleware with the given M:AuthenticationType and delegating the challenge generation to that middleware. |
|
ChallengeAsync(IAuthenticationManager) | Issues an authentication challenge to the current request by looking for an OWIN authentication middleware with the given M:AuthenticationType and delegating the challenge generation to that middleware. |
|
CreatePrincipal(AuthenticateResult) | Creates an IPrincipal using the provided AuthenticateResult. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsAzure.Mobile.Service.Security Namespace
Return to top