Authentication
-
Route to use for authenticating a user.
- anonymously: Authenticate for a new anonymous session.
- logIn: Log in to a current Mimi account.
- logInAnonymously: Log in with anonymousId
- signUp: Sign up a new Mimi account.
- deviceAuthorization: Authenticate using a device authorization request.
Declaration
Swift
public enum MimiAuthRoute
-
Controller which provides access to Mimi account authentication.
MimiAuthController
is the focal point for all authentication related logic, providing access to the current authentication status, and the functions required for modifying the auth status. All authentication context should be provided from here.Declaration
Swift
public protocol MimiAuthController : MimiCoreController
-
Observable for MimiAuthController events.
Declaration
Swift
public protocol MimiAuthControllerObservable : AnyObject
-
Data object that can be used to sign up a user for a Mimi account.
Declaration
Swift
public struct MimiSignUpData
-
Request object that represents an individual request to obtain an authentication token.
Declaration
Swift
public final class MimiAuthTokenRequest
-
Object that describes an authorization request from a device.
Declaration
Swift
public struct MimiDeviceAuthRequest : Codable