A class, representing the credentials used for authenticating a User.
Creates Credentials based on a login with a custom system.
Provider used to verify the credentials.
String identifying the user. Usually a username or user token.
Data describing the user further or null if the user does not have any extra data. The data will be serialized to JSON, so all values must be mappable to a valid JSON data type.
Creates Credentials based on an admin token. It's recommended that it is not used in production as the admin token is sensitive data that should ideally not leave the server.
The Admin token obtained from ROS.
Creates Credentials based on a unique nickname. It's recommended that it is not used in production.
The nickname of the user
If the user should be an admin
Creates Credentials based on a login with a username and a password.
The username of the user.
The user's password.
A value indicating whether the user should be created.