BankIdSign

Inputs

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

Response rows

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

C# - Get all account types from a BFS instance
//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 stream

Create a blog post to share news and announcements with your team and company.