Microsoft.WindowsAzure.Mobile.Service.Security Namespace

Classes

AzureActiveDirectoryCredentials

A ProviderCredentials implementation containing provider specific credentials for Azure Active directory authentication.

FacebookCredentials

A ProviderCredentials implementation containing provider specific credentials for Facebook authentication.

GoogleCredentials

A ProviderCredentials implementation containing provider specific credentials for Google authentication.

LoginProvider

This class provides a base implementation of the ILoginProvider interface defining a common base for authenticating clients logging into a mobile service.

LoginResult

The result returned from a successful login.

LoginResultUser

The nested user information returned as part of a successful login. LoginResult

MicrosoftAccountCredentials

A ProviderCredentials implementation containing provider specific credentials for Microsoft Account authentication.

ProviderCredentials

Base class for all provider specific credentials. Provider specific subclasses include add their own specific information, for example access tokens, token secrets, etc.

RequiresAuthorizationAttribute

Apply this attribute to ApiController actions or controllers access to them. Based on the AuthorizationLevel specified, access to the target action will be restricted to requests that have been granted that level or higher.

ScheduledJobAuthorizationManager

Pass-through implementation of IScheduledJobAuthorizationManager with no security checks at all. This is used when executing scheduled jobs in a local environment.

ServiceAuthenticationFilter

Represents an authentication filter that authenticates via OWIN middleware and creates a ServiceUser as IPrincipal.

ServiceAuthenticationMiddleware

The ServiceAuthenticationMiddleware provides the OWIN middleware for authenticating a caller who has already authenticated using the Login controller, or has provided HTTP basic authentication credentials matching either the application key or the master key (for admin access).

ServiceAuthenticationOptions

The ServiceAuthenticationOptions provides options for the OWIN ServiceAuthenticationMiddleware class.

ServiceClaimTypes

Defines constants for the well-known claim types used by a mobile service.

ServiceTokenHandler

Provides a default implementation of the IServiceTokenHandler interface.

ServiceUser

The ServiceUser class is an IPrincipal implementation which provides information about how the user is authenticated using any of the supported authentication mechanisms as well as the AuthorizationLevel at which the user is authenticated.

TokenInfo

Contains user login information such as a security token. Used by IServiceTokenHandler as part of the mobile service authentication process.

TwitterCredentials

A ProviderCredentials implementation containing provider specific credentials for Twitter authentication.

Interfaces

ILoginProvider

Provides an abstraction for authenticating clients logging into a mobile service. Public ILoginProvider implementations are automatically registered with the dependency injection engine.

IScheduledJobAuthorizationManager

Provides an abstraction for authorizing requests for executing IScheduledJob instances.

IServiceTokenHandler

Provides an abstraction for handling security tokens. This abstraction can be used for validating security tokens and creating ServiceUser instances.

Enums

AuthorizationLevel

Used to specify the required authorization level for service resources