-
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.
* Added xml comments for AliasPointer. * Added XML comments for Credential --------- Co-authored-by: Oleksii Holub <[email protected]> Co-authored-by: Anders Åberg <[email protected]>
- Loading branch information
1 parent
51d75ee
commit d4890a1
Showing
2 changed files
with
85 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,35 @@ | ||
namespace Passwordless; | ||
|
||
/// <summary> | ||
/// Alias used for asserting a user. | ||
/// </summary> | ||
public class AliasPointer | ||
{ | ||
/// <summary> | ||
/// Initialize the instance of <see cref="AliasPointer"/> | ||
/// </summary> | ||
/// <param name="userId">Identifier for the user</param> | ||
/// <param name="alias">Hashed alias for the user</param> | ||
/// <param name="plaintext">Plaintext value of the alias if stored</param> | ||
public AliasPointer(string userId, string alias, string plaintext) | ||
{ | ||
UserId = userId; | ||
Alias = alias; | ||
Plaintext = plaintext; | ||
} | ||
|
||
/// <summary> | ||
/// Identifier for the user | ||
/// </summary> | ||
public string UserId { get; } | ||
|
||
/// <summary> | ||
/// Hashed value of the user's alias | ||
/// </summary> | ||
public string Alias { get; } | ||
|
||
/// <summary> | ||
/// Plaintext value of user's alias. | ||
/// </summary> | ||
public string Plaintext { get; } | ||
} |
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