ServiceTokenHandler.CreateUserId(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 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 ILoginProvider name.
- providerUserId
- String
The provider specific user id.
Returns
A formatted String representing the resulting value.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET