Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameTypeDescriptionMandatoryAvailable from version
BankIdTypeEnum
BankIdMobile: If the user is authenticated via mobile BankID

BankIdFile: If the user is authenticated through BankID on file or card

True 
DomainEnum

Front: End customer that should be authenticated

Partner: Partner that should be authenticated

Admin: Admin that should be authenticated

True 
PersonalNumberstringThe personal number of the person to authenticateTrue 
SigningTextstringThe text that should be shown to the user when signing  

AuthenticatePersonBoolean (nullable)

If set to true or null the personal number passed in the request must exist on a person in BFS.

If set to false the personal number does not have to exist on a person in BFS


2.09

...

NameTypeDescriptionAvailable from version
OrderReferencestringA reference that is used to identify a certain authentication and is used with GetBankIdStatus in order to get the result of the signing 
AuthTokenstringThe unique token of the BankId call 
BankIdTypeEnum
BankIdMobile: If the user is authenticated via mobile BankID

BankIdFile: If the user is authenticated through BankID on file

 


PersonalNumberstringThe personal number of the person to authenticate 

Code examples

Code Block
languagec#
themeRDark
titleC# - Get all account types from a BFS instance
linenumberstrue
collapsetrue
//Create BankIdSign
var client = new BFSServiceReference.bfsapiSoapClient();

var credentials = new BFSServiceReference.Credentials()
{
    UserName = bfsusername, //Username of administrative user in your instance of BFS
    Password = bfspassword, //Password of the administrative user in your instance of BFS
};

var response = client.BankIdSign(new BFSServiceReference.BankIdSignRequest()
{
    Credentials = credentials,

    identify = bfsidentifier, //Identifier is a unique token for your instance of BFS    

    BankIdType = BankIdType.Mobile,
    Domain = Domain.Admin,
    PersonalNumber = personalnumber,
    SigningText = "The signing text"
   
});

Console.WriteLine(response.OrderReference, response.AuthToken, response.BankIdType, response.PersonalNumber);  


Blog Posts
sortcreation
contenttitles
labelsBankIdSign