FakePrincipal constructor

FakePrincipal(
  1. String subject,
  2. String kind,
  3. String name,
  4. String role,
  5. Set<String> scopes,
)

Creates a principal.

Implementation

FakePrincipal(this.subject, this.kind, this.name, this.role, this.scopes);