Appearance
metaplay auth whoami [AUTH_PROVIDER] [flags]
Show information about the signed in user
Appearance
Show information about the signed in user
metaplay auth whoami [AUTH_PROVIDER] [flags] Show information about the signed in user.
By default, displays the information in a human-readable text format. Use --format=json to get the complete user information in JSON format.
The default auth provider is 'metaplay'. If you have multiple auth providers configured in your 'metaplay-project.yaml', you can specify the name of the provider you want to use with the argument AUTH_PROVIDER.
Expected arguments:
# Show user information in text format
metaplay auth whoami
# Show complete user information in JSON format
metaplay auth whoami --format=json
# Show user information for a specific auth provider
metaplay auth whoami myAuthProvider--format <string>: Output format. Valid values are 'text' or 'json' (default: text)--color <string>: Should the output be colored (yes/no/auto)? [env: METAPLAYCLI_COLOR] (default: auto)--project <string>: Path to the to project directory (where metaplay-project.yaml is located)--skip-version-check: Skip the check for a new CLI version being available--verbose: Enable verbose logging, useful for troubleshooting [env: METAPLAYCLI_VERBOSE]