-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #579 from atsign-foundation/deprecate_apkam_authmode
fix: Deprecate apkam authmode
- Loading branch information
Showing
3 changed files
with
9 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
// If pkam auth mode is keysFile then pkam private key will be generated during onboarding and saved in the keys file. | ||
// For subsequent authentication, pkam private key will be read from the keys file supplied by the user. | ||
// If pkam auth mode is sim or any other secure element, then private key is not accessible directly. Only the data will be passed to the sim/secure element, pkam signature can be retrieved and verified.pkam private key will not be a part of keys file in this case. | ||
// If auth mode is apkam, each app/client will have its own key pair for pkam authentication. | ||
enum PkamAuthMode { keysFile, sim, apkam } | ||
enum PkamAuthMode { | ||
keysFile, | ||
sim, | ||
@Deprecated('not used') | ||
apkam | ||
} |
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