Class PhoneAuthRequest
Phone auth request parameters.
Inherited Members
Namespace: ActiveLogin.Authentication.BankId.Api.Models
Assembly: ActiveLogin.Authentication.BankId.Api.dll
Syntax
public class PhoneAuthRequest : PhoneRequest
Constructors
| Improve this Doc View SourcePhoneAuthRequest(String, CallInitiator, PhoneRequirement, Nullable<String>, Byte[], Nullable<String>)
Declaration
public PhoneAuthRequest(string personalIdentityNumber, CallInitiator callInitiator, PhoneRequirement requirement = null, string? userVisibleData = null, byte[] userNonVisibleData = null, string? userVisibleDataFormat = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | personalIdentityNumber | The personal number of the user. String. 12 digits. |
CallInitiator | callInitiator | Indicate if the user or the RP initiated the phone call. user: user called the RP. RP: RP called the user. |
PhoneRequirement | requirement | Requirements on how the phone auth or phone sign order must be performed. |
System.Nullable<System.String> | userVisibleData | The text to be displayed and signed. The text can be formatted using CR, LF and CRLF for new lines. |
System.Byte[] | userNonVisibleData | Data not displayed to the user. |
System.Nullable<System.String> | userVisibleDataFormat | If present, and set to "simpleMarkdownV1", this parameter indicates that userVisibleData holds formatting characters which, if used correctly, will make the text displayed with the user nicer to look at. For further information of formatting options, please study the document Guidelines for Formatted Text. |