Authorizer.bearer constructor

Authorizer.bearer(AuthValidator validator, { List<String> scopes })

Creates an instance of Authorizer using AuthStrategy.bearer.

Optionally allows the setting of Authorizer.scopes.

Implementation

Authorizer.bearer(AuthValidator validator, {List<String> scopes})
    : this(validator, strategy: AuthStrategy.bearer, scopes: scopes);