...
Name | Type | Description | Mandatory | Available from version | ||
---|---|---|---|---|---|---|
BankIdType | Enum | BankIdMobile: If the user is authenticated via mobile BankID BankIdFile: If the user is authenticated through BankID on file or card | True | |||
Domain | Enum | Front: End customer that should be authenticated Partner: Partner that should be authenticated Admin: Admin that should be authenticated | True | |||
PersonalNumber | string | The personal number of the person to authenticate | True | |||
SigningText | string | The text that should be shown to the user when signing | ||||
AuthenticatePerson | Boolean (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 |
...
Name | Type | Description | Available from version | |
---|---|---|---|---|
OrderReference | string | A reference that is used to identify a certain authentication and is used with GetBankIdStatus in order to get the result of the signing | ||
AuthToken | string | The unique token of the BankId call | ||
BankIdType | Enum | BankIdMobile: If the user is authenticated via mobile BankID BankIdFile: If the user is authenticated through BankID on file | ||
PersonalNumber | string | The personal number of the person to authenticate |
Code examples
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
//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 | ||||||
---|---|---|---|---|---|---|
|