System.Security.Claims.ClaimsPrincipalExtensions.GetIssuerValue C# (CSharp) Метод

GetIssuerValue() публичный статический Метод

public static GetIssuerValue ( this principal, bool throwIfNotFound = true ) : string
principal this
throwIfNotFound bool
Результат string
        public static string GetIssuerValue(this ClaimsPrincipal principal, bool throwIfNotFound = true)
        {
            return principal.FindFirstValue(OpenIdConnectClaimTypes.IssuerValue, throwIfNotFound);
        }