Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
* Config source:
* Feel free to let us know via PR, if you find something broken in this config
* file.
import type { AuthConfig } from '@ioc:Adonis/Addons/Auth'
| Authentication Mapping
| List of available authentication mapping. You must first define them
| inside the `contracts/auth.ts` file before mentioning them here.
const authConfig: AuthConfig = {
guard: '{{ guards.0 }}',
guards: {
{{> web_guard}}
{{> api_guard}}
{{> basic_guard}}
export default authConfig