BankIdAuthentication

Input

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

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

  
DomainEnum

Front: End customer that should be authenticated

Partner: Partner that should be authenticated

Admin: Admin that should be authenticated

  
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

Outputs

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

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

XML request example
<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>BankIdMobile</BankIdType>
		<AuthenticatePerson>true</AuthenticatePerson>
      </req>
    </BankIdAuthentication>
  </s:Body>
</s:Envelope>

 

Blog Posts