Show / Hide Table of Contents

Class ExternalLoginInfoExtensions

Extension methods for Microsoft.AspNetCore.Identity.ExternalLoginInfo.

Inheritance
Object
ExternalLoginInfoExtensions
Inherited Members
Object.Equals(Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public static class ExternalLoginInfoExtensions

Methods

GetTenantId(ExternalLoginInfo, ILogger)

Gets the tenant id associated in the Microsoft.AspNetCore.Identity.ExternalLoginInfo, if any.

Declaration
public static Guid? GetTenantId(this ExternalLoginInfo loginInfo, ILogger logger = null)
Parameters
Microsoft.AspNetCore.Identity.ExternalLoginInfo loginInfo

The Microsoft.AspNetCore.Identity.ExternalLoginInfo.

Microsoft.Extensions.Logging.ILogger logger

The logger used to log messages, warnings and errors.

Returns
System.Nullable<System.Guid>

The tenant id if there is one, otherwise null.

Back to top Generated by DocFX