Magic.User (magic_admin v0.10.0) View Source
Provides methods to interact with the User via the Magic API
Link to this section Summary
Functions
Retrieves information about the user by the supplied issuer
Retrieves information about the user by the supplied public address
Retrieves information about the user by the supplied DID Token
Logs a user out of all Magic SDK sessions by the supplied issuer
Logs a user out of all Magic SDK sessions by the supplied public address
Logs a user out of all Magic SDK sessions by the supplied DID Token
Link to this section Types
Specs
did_token() :: Magic.Token.did_token()
Specs
issuer() :: Magic.Token.issuer()
Specs
public_address() :: Magic.Token.public_address()
Specs
user() :: %{ email: String.t(), issuer: issuer(), public_address: public_address() }
Specs
wallet_type() :: Magic.Token.wallet_type()
Link to this section Functions
Retrieves information about the user by the supplied issuer
get_metadata_by_public_address(public_address, wallet_type \\ :none, opts \\ [])
View SourceRetrieves information about the user by the supplied public address
get_metadata_by_token(did_token, wallet_type \\ :none, opts \\ [])
View SourceRetrieves information about the user by the supplied DID Token
Logs a user out of all Magic SDK sessions by the supplied issuer
Logs a user out of all Magic SDK sessions by the supplied public address
Logs a user out of all Magic SDK sessions by the supplied DID Token