diff --git a/Samples/DirectAuthSignIn/DirectAuthSignIn/SignInView.swift b/Samples/DirectAuthSignIn/DirectAuthSignIn/SignInView.swift index abc6128a3..95678a420 100644 --- a/Samples/DirectAuthSignIn/DirectAuthSignIn/SignInView.swift +++ b/Samples/DirectAuthSignIn/DirectAuthSignIn/SignInView.swift @@ -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) { @@ -92,6 +93,7 @@ struct SignInView: View { } .navigationTitle("Direct Authentication") } + // swiftlint:enable force_unwrapping } // swiftlint:disable force_unwrapping diff --git a/Sources/OktaDirectAuth/DirectAuthFlow.swift b/Sources/OktaDirectAuth/DirectAuthFlow.swift index 2decc8be3..2b0884554 100644 --- a/Sources/OktaDirectAuth/DirectAuthFlow.swift +++ b/Sources/OktaDirectAuth/DirectAuthFlow.swift @@ -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.