Skip to content

Identities

FeroxFoxxo edited this page Jan 30, 2022 · 2 revisions

Dexter can create a variety of different types of identities. By default, it contains a:

Token Identity: for logging into Dexter with a token, and accessing his API remotely.

OAuth Identity: for logging into Dexter through the website using OAuth2.

Command Identity: for the user who runs a command.

New identities can be created through extending Identity. For the most part, you will likely not need to create your own identity. However, the option is there.

In general, in the case of an AuthenticatedController, Command or a Repository, this identity will simply be able to be retrieved through the Identity variable.