giovannicandido / angular-spa

Angular security, logger, components and other stuff that makes professional Single Pages Application awesome.
MIT License
6 stars 4 forks source link

Docs: Account #19

Open giovannicandido opened 7 years ago

giovannicandido commented 7 years ago

Document Account class.

Before that, getLoginAccount() return a keycloak JSON object and not a Account object. The methods: isAccountInRole(role: string) and hasAuthority(authority: string): boolean are not present