Creates an identity.
const Identity({ required this.principal, this.roles = const {}, this.authenticated = true, });