Guest Mode
Use the signUpGuest() method from the OFSDK to create a guest account:
Usage
do {
let response = try await OFSDK.shared.signUpGuest()
} catch {
print("Failed to sign in as Guest: \(error.localizedDescription)")
}Returns
struct OFSignUpResponse: OFSignUpResponseProtocol, OFCodableSendable {
public let token: String?
public let refreshToken: String?
public let player: OFAuthPlayerResponse?
public let action: String?
}Throws
{
method: method,
success: false,
error: error
}