Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 committed Aug 21, 2024
1 parent 463dab4 commit c18656e
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class AWSAuthChangePasswordTask: AuthChangePasswordTask, DefaultLogger {
}

func execute() async throws {
log.verbose("Starting execution")
do {
await taskHelper.didStateMachineConfigured()
let accessToken = try await taskHelper.getAccessToken()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public class AWSAuthClearFederationToIdentityPoolTask: AuthClearFederationToIden
}

public func execute() async throws {
log.verbose("Starting execution")
await taskHelper.didStateMachineConfigured()
try await clearFederationHelper.clearFederation(authStateMachine)
log.verbose("Cleared federation")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class AWSAuthConfirmResetPasswordTask: AuthConfirmResetPasswordTask, DefaultLogg
}

func execute() async throws {
log.verbose("Starting execution")
if let validationError = request.hasError() {
throw validationError
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class AWSAuthConfirmSignInTask: AuthConfirmSignInTask, DefaultLogger {
}

func execute() async throws -> AuthSignInResult {
log.verbose("Starting execution")
await taskHelper.didStateMachineConfigured()

// Check if we have a user pool configuration
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class AWSAuthConfirmSignUpTask: AuthConfirmSignUpTask, DefaultLogger {
}

func execute() async throws -> AuthSignUpResult {
log.verbose("Starting execution")
try request.hasError()
let userPoolEnvironment = authEnvironment.userPoolEnvironment
do {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class AWSAuthDeleteUserTask: AuthDeleteUserTask, DefaultLogger {
}

func execute() async throws {
log.verbose("Starting execution")
await taskHelper.didStateMachineConfigured()
let accessToken = try await taskHelper.getAccessToken()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public class AWSAuthFederateToIdentityPoolTask: AuthFederateToIdentityPoolTask,
}

public func execute() async throws -> FederateToIdentityPoolResult {
log.verbose("Starting execution")
await taskHelper.didStateMachineConfigured()
let state = await authStateMachine.currentState
guard case .configured(let authNState, let authZState) = state else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class AWSAuthFetchSessionTask: AuthFetchSessionTask, DefaultLogger {
}

func execute() async throws -> AuthSession {
log.verbose("Starting execution")
await taskHelper.didStateMachineConfigured()
let doesNeedForceRefresh = request.options.forceRefresh
return try await fetchAuthSessionHelper.fetch(authStateMachine,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class AWSAuthResendSignUpCodeTask: AuthResendSignUpCodeTask, DefaultLogger {
}

func execute() async throws -> AuthCodeDeliveryDetails {
log.verbose("Starting execution")
if let validationError = request.hasError() {
throw validationError
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ class AWSAuthResetPasswordTask: AuthResetPasswordTask, DefaultLogger {
}

func execute() async throws -> AuthResetPasswordResult {
log.verbose("Starting execution")
if let validationError = request.hasError() {
throw validationError
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class AWSAuthSignInTask: AuthSignInTask, DefaultLogger {
}

func execute() async throws -> AuthSignInResult {
log.verbose("Starting execution")
await taskHelper.didStateMachineConfigured()
// Check if we have a user pool configuration
guard let userPoolConfiguration = authConfiguration.getUserPoolConfiguration() else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class AWSAuthSignOutTask: AuthSignOutTask, DefaultLogger {
}

func execute() async -> AuthSignOutResult {
log.verbose("Starting execution")
await taskHelper.didStateMachineConfigured()

guard case .configured(let authNState, _) = await authStateMachine.currentState else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ class AWSAuthSignUpTask: AuthSignUpTask, DefaultLogger {
}

func execute() async throws -> AuthSignUpResult {
log.verbose("Starting execution")
let userPoolEnvironment = authEnvironment.userPoolEnvironment
try request.hasError()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class AWSAuthWebUISignInTask: AuthWebUISignInTask, DefaultLogger {
}

func execute() async throws -> AuthSignInResult {
log.verbose("Starting execution")
do {
await taskHelper.didStateMachineConfigured()
let result = try await helper.initiateSignIn()
Expand Down

0 comments on commit c18656e

Please sign in to comment.