Input

NameTypeDescriptionMandatoryAvailable from version
PersonalNumberStringThe personal number of the person to authenticate true
BankIdTypeEnum
Mobile: If the user is authenticated via mobile BankID

File: 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
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

false2.09

Outputs

NameTypeDescriptionAvailable from version
PersonalNumberStringThe personal number of the person to authenticate
BankIdTypeEnum
Mobile: If the user is authenticated via mobile BankID

File: If the user is authenticated through BankID on file


OrderReferenceString

A reference that is used to identify a certain authentication.

The Orderreference is sent with the call to GetBankIdStatus


AuthTokenStringSends in the beginning with BankID app. For more information: https://www.bankid.com/bankid-i-dina-tjanster/rp-info


Code examples

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <BankIdAuthentication xmlns="http://tempuri.org/">
      <req>
        <Credentials>
          <UserName>yourusername</UserName>
          <Password>yourpassword</Password>
        </Credentials>
        <identify>youridentifier</identify>
        <Domain>Front</Domain>
        <PersonalNumber>196506167326</PersonalNumber>
        <BankIdType>Mobile</BankIdType>
		<AuthenticatePerson>true</AuthenticatePerson>
      </req>
    </BankIdAuthentication>
  </s:Body>
</s:Envelope>