get
Retrieves the recovery codes for the current member's account. Calls the GET /sdk/v1/b2b/recovery_codes endpoint. Requires an active session.
Kotlin:
StytchB2B.recoveryCodes.get()Content copied to clipboard
iOS:
let response = try await StytchB2B.recoveryCodes.get()Content copied to clipboard
React Native:
StytchB2B.recoveryCodes.get()Content copied to clipboard
Return
B2BRecoveryCodesGetResponse containing the member's current recovery codes.
Throws
StytchError
if the request fails or no active session exists.
if the coroutine is cancelled.