OneEntry Platform 2.0.1 Help

Authorization Provider

The user registration mechanism is implemented through the authorization provider. The authorization provider is not created by default when a project is created. If your project involves user registration, you need to set up the authorization provider yourself.

Kotlin Multiplatform

Getting all authentication providers

val providers = AuthProviderService.usersAuthProviders()

Getting a single provider by its marker

val provider = AuthProviderService.userAuthProvider("email")

Swift

Getting all authentication providers

let providers = try await AuthProviderService.shared.usersAuthProviders(offset: 0, limit: 30, langCode: "en_US")

Getting a single provider by its marker

let provider = try await AuthProviderService.shared.userAuthProvider(marker: "email", langCode: "en_US")
Last modified: 18 February 2025