me
Returns the currently authenticated member and their organization. Calls the GET /sdk/v1/b2b/organizations/members/me endpoint. Requires an active session.
Kotlin:
StytchB2B.members.me()Content copied to clipboard
iOS:
let response = try await StytchB2B.members.me()Content copied to clipboard
React Native:
StytchB2B.members.me()Content copied to clipboard
Return
B2BGetMeResponse containing the current member and organization objects.
Throws
StytchError
if the request fails or no active session exists.
if the coroutine is cancelled.