You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/en/schemes/refresh.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,6 +74,7 @@ auth: {
74
74
token: {
75
75
property:'access_token',
76
76
maxAge:1800,
77
+
global:true,
77
78
// type: 'Bearer'
78
79
},
79
80
refreshToken: {
@@ -113,6 +114,12 @@ Here you configure the token options.
113
114
114
115
`property` can be used to specify which field of the response JSON to be used for value. It can be `false` to directly use API response or being more complicated like `auth.token`.
115
116
117
+
#### `global`
118
+
119
+
- Default: `true`
120
+
121
+
This determines if the authentication token is automatically included in all custom axios requests.
0 commit comments