RestAuth v1.1.1 RestAuth.Authority View Source
An authority struct.
Used to hold information about the current user/authority granted.
Link to this section Summary
Types
Roles defaults to an empty list.
Anonymous defaults to true
. Remember to set anonymous: false
on successful creation
of RestAuth.Authority
in your handler!
Functions
Convenience function for transforming a map with binary keys to
a RestAuth.Authority
struct. Map keys not in the struct are
silently dropped
Link to this section Types
Roles defaults to an empty list.
Anonymous defaults to true
. Remember to set anonymous: false
on successful creation
of RestAuth.Authority
in your handler!
Link to this section Functions
Convenience function for transforming a map with binary keys to
a RestAuth.Authority
struct. Map keys not in the struct are
silently dropped.