AppServiceTokenHandler.CreateUserId(String, String) Method

Definition

Creates a user id value contained within a ProviderCredentials. The user id is of the form ProviderName:ProviderId where the ProviderName is the unique identifier for the login provider and the ProviderId is the provider specific id for a given user.

public virtual string CreateUserId (string providerName, string providerUserId);
abstract member CreateUserId : string * string -> string
override this.CreateUserId : string * string -> string
Public Overridable Function CreateUserId (providerName As String, providerUserId As String) As String

Parameters

providerName
String

The login provider name.

providerUserId
String

The provider specific user id.

Returns

A formatted String representing the resulting value.

Implements

Applies to