-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature(auth sdk): add SendMsgCodeForVerificationAsync、VerifyMsgCodeA…
…sync、SendMsgCodeForUpdatePhoneNumberAsync (#218) * refactor:refactor code * feat(auth sdk):add SendMsgCodeForVerificationAsync、VerifyMsgCodeAsync、 SendMsgCodeForUpdatePhoneNumberAsync * refactor:refactor code
- Loading branch information
1 parent
ee11ccd
commit ef6575d
Showing
8 changed files
with
126 additions
and
30 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
14 changes: 14 additions & 0 deletions
14
...uth/Masa.BuildingBlocks.StackSdks.Auth.Contracts/Model/SendMsgCodeForVerificationModel.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,14 @@ | ||
// Copyright (c) MASA Stack All rights reserved. | ||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
|
||
namespace Masa.BuildingBlocks.StackSdks.Auth.Contracts.Model; | ||
|
||
public class SendMsgCodeForVerificationModel | ||
{ | ||
public Guid UserId { get; set; } | ||
|
||
public SendMsgCodeForVerificationModel(Guid userId) | ||
{ | ||
UserId = userId; | ||
} | ||
} |
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
17 changes: 17 additions & 0 deletions
17
...s/StackSdks/Auth/Masa.BuildingBlocks.StackSdks.Auth.Contracts/Model/VerifyMsgCodeModel.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,17 @@ | ||
// Copyright (c) MASA Stack All rights reserved. | ||
// Licensed under the MIT License. See LICENSE.txt in the project root for license information. | ||
|
||
namespace Masa.BuildingBlocks.StackSdks.Auth.Contracts.Model; | ||
|
||
public class VerifyMsgCodeModel | ||
{ | ||
public Guid UserId { get; set; } | ||
|
||
public string Code { get; set; } | ||
|
||
public VerifyMsgCodeModel(Guid userId, string code) | ||
{ | ||
UserId = userId; | ||
Code = code; | ||
} | ||
} |
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