You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BankId options allows you to set and override some options such as these.
454
+
BankId options allows you to set and override some options such as the below requirements on how the authentication or signature order must be performed.
450
455
451
456
```csharp
452
457
.AddOtherDevice(options=>
@@ -478,6 +483,7 @@ If you want to apply some options for all BankID schemes, you can do so by using
478
483
});
479
484
```
480
485
486
+
Requirements can also be set dynamically for each authentication, see section [Resolve requirements on Auth request](#resolve-requirements-on-auth-request). To use dynamic requirements with signatures provide the requirements as part the `BankIdSignProperties`, see section [Sign](#sign).
481
487
482
488
---
483
489
@@ -970,6 +976,29 @@ Either register a class implementing `IBankIdEndUserIpResolver`:
Copy file name to clipboardExpand all lines: src/ActiveLogin.Authentication.BankId.AspNetCore/Areas/ActiveLogin/Controllers/BankIdUiSignApiController.cs
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,10 @@ public async Task<ActionResult<BankIdUiApiInitializeResponse>> Initialize(BankId
@@ -33,6 +35,7 @@ public BankIdSignProperties(string userVisibleData)
33
35
/// there is something wrong about the identification and avoid attempted frauds.
34
36
/// </summary>
35
37
publicstringUserVisibleData{get;set;}
38
+
36
39
/// <summary>
37
40
/// 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.
38
41
/// For further information of formatting options, please study the document Guidelines for Formatted Text.
@@ -44,6 +47,24 @@ public BankIdSignProperties(string userVisibleData)
44
47
/// </summary>
45
48
publicbyte[]?UserNonVisibleData{get;set;}
46
49
50
+
/// <summary>
51
+
/// The personal identity number allowed to confirm the sign request.
52
+
/// If a BankID with another personal identity number attempts to confirm the sign request, it will fail.
53
+
/// If left empty any personal identity number will be allowed.
0 commit comments