Swift Protocol
protocol SecureStorage : Sendable
func clear()
func getEmail() async throws(SecureStorageError) -> String?
func getJWT() async throws(SecureStorageError) -> String?
func getOneTimeSecret() async throws(SecureStorageError) -> String?
func storeEmail(_ email: String) async throws(SecureStorageError)
func storeJWT(_ secret: String) async throws(SecureStorageError)
func storeOneTimeSecret(_ secret: String) async throws(SecureStorageError)
Was this page helpful?