# WhoAmI

Type: WhoAmI

Contains information about the current user and the auth subjects available for the used authentication.

Schema: [WhoAmI](https://sourcey-ditto.pages.dev/http-api-doc/models/whoami.md)

- `defaultSubject` (optional)
  Reference: [WhoAmISubject](https://sourcey-ditto.pages.dev/http-api-doc/models/whoamisubject.md); Type: WhoAmISubject
  
  An auth subject that can be used to provide access for a caller (e.g. in subject entries of policies).

- `subjects` (optional)
  Type: Array<WhoAmISubject>
  
  Items:
    Reference: [WhoAmISubject](https://sourcey-ditto.pages.dev/http-api-doc/models/whoamisubject.md); Type: WhoAmISubject
    
    An auth subject that can be used to provide access for a caller (e.g. in subject entries of policies).