Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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  

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.

  • No labels