GuardDefinition.authenticated constructor
const
GuardDefinition.authenticated({
- String? realm = 'Restricted',
Creates an authenticated guard using realm for its challenge.
Implementation
const GuardDefinition.authenticated({this.realm = 'Restricted'})
: type = GuardType.authenticated,
roles = const [],
any = false;