Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
mikenachbaur-okta committed Apr 30, 2024
1 parent e025705 commit cd698dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Samples/DirectAuthSignIn/DirectAuthSignIn/SignInView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ struct SignInView: View {
static let continuationFactors: [Factor] = [.code]
}

// swiftlint:disable force_unwrapping
var body: some View {
VStack {
VStack(alignment: .leading, spacing: 15) {
Expand Down Expand Up @@ -92,6 +93,7 @@ struct SignInView: View {
}
.navigationTitle("Direct Authentication")
}
// swiftlint:enable force_unwrapping
}

// swiftlint:disable force_unwrapping
Expand Down
2 changes: 1 addition & 1 deletion Sources/OktaDirectAuth/DirectAuthFlow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public class DirectAuthenticationFlow: AuthenticationFlow {
}

/// The current status of the authentication flow.
///
///
/// This value is returned from ``DirectAuthenticationFlow/start(_:with:)`` and ``DirectAuthenticationFlow/resume(_:with:)`` to indicate the result of an individual authentication step. This can be used to drive your application's sign-in workflow.
public enum Status: Equatable {
/// Authentication was successful, returning the given token.
Expand Down

0 comments on commit cd698dd

Please sign in to comment.