Class TenantAuthenticationSchemeProvider
Default implementation of ITenantAuthenticationSchemeProvider.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class TenantAuthenticationSchemeProvider : ITenantAuthenticationSchemeProvider
Constructors
TenantAuthenticationSchemeProvider(IAuthenticationSchemeProvider)
Creates a new instance of TenantAuthenticationSchemeProvider.
Declaration
public TenantAuthenticationSchemeProvider(IAuthenticationSchemeProvider authenticationSchemeProvider)
Parameters
Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider
authenticationSchemeProvider
The Microsoft.AspNetCore.Authentication.IAuthenticationSchemeProvider responsible for managing all authentication schemes. |
Methods
GetAllSchemesAsync(Guid[])
Returns all currently registered Microsoft.AspNetCore.Authentication.AuthenticationSchemes for tenantIds
.
Declaration
public async Task<IEnumerable<AuthenticationScheme>> GetAllSchemesAsync(params Guid[] tenantIds)
Parameters
System.Guid[]
tenantIds
One or more tenants to get the registered Microsoft.AspNetCore.Authentication.AuthenticationScheme for. |
Returns
System.Threading.Tasks.Task<IEnumerable<Microsoft.AspNetCore.Authentication.AuthenticationScheme>>
All currently registered Microsoft.AspNetCore.Authentication.AuthenticationSchemes. |