ClaimsPrincipalExtensions.GetLoginHint(ClaimsPrincipal) Method

Definition

Gets the login-hint associated with a ClaimsPrincipal.

public static string? GetLoginHint (this System.Security.Claims.ClaimsPrincipal claimsPrincipal);
static member GetLoginHint : System.Security.Claims.ClaimsPrincipal -> string
<Extension()>
Public Function GetLoginHint (claimsPrincipal As ClaimsPrincipal) As String

Parameters

claimsPrincipal
ClaimsPrincipal

Identity for which to complete the login-hint.

Returns

The login hint for the identity, or null if it cannot be found.

Applies to