EmailMagicLinks
Provides all possible ways to call EmailMagicLinks endpoints
Types
Link copied to clipboard
data class DiscoverySendParameters( val emailAddress: String, val discoveryRedirectUrl: String? = null, val loginTemplateId: String? = null)
Content copied to clipboard
A data class used for wrapping paramaters used for sending a discovery magic link
Link copied to clipboard
data class Parameters( val email: String, val organizationId: String, val loginRedirectUrl: String? = null, val signupRedirectUrl: String? = null, val loginTemplateId: String? = null, val signupTemplateId: String? = null)
Content copied to clipboard
Data class used for wrapping parameters used with requesting an email magic link
Functions
Link copied to clipboard
abstract suspend fun discoverySend(parameters: B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters): BaseResponse
Content copied to clipboard
abstract fun discoverySend(parameters: B2BMagicLinks.EmailMagicLinks.DiscoverySendParameters, callback: (BaseResponse) -> Unit)
Content copied to clipboard
Send an invite email to a new Member to join an Organization. The Member will be created with an invited status until they successfully authenticate. Sending invites to pending Members will update their status to invited. Sending invites to already active Members will return an error.
Link copied to clipboard
abstract suspend fun loginOrSignup(parameters: B2BMagicLinks.EmailMagicLinks.Parameters): BaseResponse
Content copied to clipboard
abstract fun loginOrSignup(parameters: B2BMagicLinks.EmailMagicLinks.Parameters, callback: (BaseResponse) -> Unit)
Content copied to clipboard
Send either a login or signup magic link to a Member. A new or pending Member will receive a signup Email Magic Link. An active Member will receive a login Email Magic Link.