Dela via


IServiceTokenHandler.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 ILoginProvider and the ProviderId is the provider specific id for a given user.

public string CreateUserId (string providerName, string providerUserId);
abstract member CreateUserId : string * string -> string
Public Function CreateUserId (providerName As String, providerUserId As String) As String

Parameters

providerName
String

The ILoginProvider name.

providerUserId
String

The provider specific user id.

Returns

A formatted String representing the resulting value.

Applies to