-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support new returnUrl, returnRisk, and risk parameters (#454)
* Support new returnUrl, returnRisk, and risk parameters * Improvements * Fixes * Fixes * Use enum for risk level * Fix
- Loading branch information
1 parent
583d03e
commit 2c14d46
Showing
15 changed files
with
148 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/ActiveLogin.Authentication.BankId.Api/Models/RiskLevel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
namespace ActiveLogin.Authentication.BankId.Api.Models; | ||
|
||
/// <summary> | ||
/// Represents the risk levels returned in the collect response. | ||
/// </summary> | ||
public enum RiskLevel | ||
{ | ||
/// <summary> | ||
/// If no value was returned the risk couldn’t be calculated. | ||
/// </summary> | ||
Unknown, | ||
|
||
/// <summary> | ||
/// Low risk orders. No or low risk identified in the available order data. | ||
/// </summary> | ||
Low, | ||
|
||
/// <summary> | ||
/// Moderate risk orders. Might need further action, investigation or follow-up by the Relying Party based on order data. | ||
/// </summary> | ||
Moderate, | ||
|
||
/// <summary> | ||
/// High risk transaction. The order should be blocked/cancelled by the Relying Party and needs further action, investigation or follow-up. | ||
/// </summary> | ||
High | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.