Skip to main content
Protocol
protocol SecureStorage : Sendable

Instance Methods

clear()

func clear()

getEmail()

func getEmail() async throws(SecureStorageError) -> String?

getJWT()

func getJWT() async throws(SecureStorageError) -> String?

getOneTimeSecret()

func getOneTimeSecret() async throws(SecureStorageError) -> String?

storeEmail(_:)

func storeEmail(_ email: String) async throws(SecureStorageError)

storeJWT(_:)

func storeJWT(_ secret: String) async throws(SecureStorageError)

storeOneTimeSecret(_:)

func storeOneTimeSecret(_ secret: String) async throws(SecureStorageError)