Class PhoneSignRequest
Phone sign request parameters.
Inherited Members
Namespace: ActiveLogin.Authentication.BankId.Api.Models
Assembly: ActiveLogin.Authentication.BankId.Api.dll
Syntax
public class PhoneSignRequest : PhoneRequest
Constructors
| Improve this Doc View SourcePhoneSignRequest(String, CallInitiator, String, Byte[], PhoneRequirement, Nullable<String>)
Declaration
public PhoneSignRequest(string personalIdentityNumber, CallInitiator callInitiator, string userVisibleData, byte[] userNonVisibleData = null, PhoneRequirement requirement = 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. |
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. |
PhoneRequirement | requirement | Requirements on how the phone auth or phone sign order must be performed. |
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. |