Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Latest commit

 

History

History
18 lines (13 loc) · 321 Bytes

File metadata and controls

18 lines (13 loc) · 321 Bytes

User Module

The User Module and its members are accessible on the Magic SDK instance by the user property.

import MagicSDK

let magic = Magic.shared

magic.user
magic.user.getIdToken
magic.user.generateIdToken
magic.user.getMetadata
magic.user.updateEmail
magic.user.isLoggedIn
magic.user.logout