# AuthenticationStrategies

This service helps with picking a default strategy. In addition, it exposes a strategy for local authentication. The latter is used on integrating Passport (opens new window) while bootstrapping your application and this plugin.

# Methods

# defaultStrategy()

Signature: defaultStrategy(): string

Provides name of strategy to use by default depending on current application's configuration.

# generateLocal()

Signature: generateLocal(): Strategy

Creates custom instance of Passport's LocalStrategy set up for integrating with Hitchy's request routing.