Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Authsignal.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Authsignal'
s.version = '2.0.1'
s.version = '2.0.2'
s.summary = 'The Authsignal SDK for iOS'

s.homepage = 'https://github.com/authsignal/authsignal-ios'
Expand Down
4 changes: 2 additions & 2 deletions Sources/Authsignal/AuthsignalInApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ public class AuthsignalInApp {
)
}

public func verify() async -> AuthsignalResponse<InAppVerifyResponse> {
let challengeResponse = await api.challenge()
public func verify(action: String? = nil) async -> AuthsignalResponse<InAppVerifyResponse> {
let challengeResponse = await api.challenge(action: action)

guard let challengeId = challengeResponse.data?.challengeId else {
return AuthsignalResponse(error: challengeResponse.error ?? "Error generating challenge.")
Expand Down
Loading