Skip to content

Commit

Permalink
Merge branch 'feat/auth-passwordless' into add-magiclink-implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 authored Nov 29, 2023
2 parents 92841bb + 0f01562 commit 8e393cf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//
import Amplify

//[HS]: TODO: Make sure this is approved API for options
public struct AWSAuthConfirmSignInWithMagicLinkOptions {

/// A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
//
import Amplify

//[HS]: TODO: Make sure this is approved API for options
public struct AWSAuthConfirmSignInWithOTPOptions {

/// A map of custom key-value pairs that you can provide as input for any custom workflows that this action triggers.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ enum PasswordlessCustomAuthRequestAction: String {

struct PasswordlessCustomAuthRequest {

private let namespace = "Amplify.Passwordless"
private let namespace = "amplify.passwordless"

let signInMethod: PasswordlessCustomAuthSignInMethod
let action: PasswordlessCustomAuthRequestAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class AWSAuthSignInWithOTPTaskTests: BasePluginTest {
/// - When:
/// - I invoke signInWithOTP
/// - Then:
/// - I should get a the info in next step
/// - I should get `confirmSignInWithOTP` as the next step.
///
func testSignInWithOTP() async {

Expand Down

0 comments on commit 8e393cf

Please sign in to comment.