Show / Hide Table of Contents

Class BankIdExtensions

Extension methods for determine if it is BankId.

Inheritance
Object
BankIdExtensions
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 BankIdExtensions

Fields

Provider

Constans used to identify BankId authentication schemes.

Declaration
public const string Provider = "bankid"
Field Value
String

Methods

GetLoginProvider(String)

Gets if the loginProvider is a BankId provider.

Declaration
public static string GetLoginProvider(this string loginProvider)
Parameters
String loginProvider

Returns
String

true if loginProvider is a BankId provider; otherwise false.

IsBankId(AuthenticationScheme)

Gets if the scheme represents a BankId scheme.

Declaration
public static bool IsBankId(this AuthenticationScheme scheme)
Parameters
IRM.AspNetCore.Authentication.Serialization.AuthenticationScheme scheme

Returns
Boolean

true if scheme is a BankId scheme; otherwise false.

IsBankId(AuthenticationScheme)

Gets if the scheme represents a BankId scheme.

Declaration
public static bool IsBankId(this AuthenticationScheme scheme)
Parameters
Microsoft.AspNetCore.Authentication.AuthenticationScheme scheme

Returns
Boolean

true if scheme is a BankId scheme; otherwise false.

IsBankId(String)

Gets if the schemeName represents a BankId scheme.

Declaration
public static bool IsBankId(this string schemeName)
Parameters
String schemeName

Returns
Boolean

true if schemeName is a BankId scheme; otherwise false.

Back to top Generated by DocFX