MobileAppUser.GetIdentityAsync<T> Method ()

 

Gets the provider specific identity details for the ServiceUser

Namespace:   Microsoft.Azure.Mobile.Server.Authentication
Assembly:  Microsoft.Azure.Mobile.Server.Authentication (in Microsoft.Azure.Mobile.Server.Authentication.dll)

Syntax

public Task<T> GetIdentityAsync<T>()
where T : new(), ProviderCredentials
public:
generic<typename T>
where T : gcnew(), ProviderCredentials
Task<T>^ GetIdentityAsync()
member GetIdentityAsync<'T when 'T : new() and ProviderCredentials> : unit -> Task<'T>
Public Function GetIdentityAsync(Of T As { ProviderCredentials, New }) As Task(Of T)

Return Value

Type: System.Threading.Tasks.Task<T>

The provider credentials if found, otherwise null

Type Parameters

  • T
    The provider type

See Also

MobileAppUser Class
Microsoft.Azure.Mobile.Server.Authentication Namespace

Return to top