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
Checks for authentication with Payload CMS by hitting the [`/me`](https://payloadcms.com/docs/authentication/operations#me) route. If authenticated, renders an admin bar with simple controls to do the following:
Property | Type | Required | Default | Description
102
-
--- | --- | --- | --- | ---
103
-
cmsURL | `string` | true | `http://localhost:8000` | `serverURL` as defined in your [Payload config](https://payloadcms.com/docs/configuration/overview#options)
104
-
adminPath | `string` | false | /admin | `routes` as defined in your [Payload config](https://payloadcms.com/docs/configuration/overview#options)
105
-
apiPath | `string` | false | /api | `routes` as defined in your [Payload config](https://payloadcms.com/docs/configuration/overview#options)
106
-
collection | `string` | true | undefined | Slug of your [collection](https://payloadcms.com/docs/configuration/collections)
107
-
collectionLabels | `{ singular?: string, plural?: string }` | false | undefined | Labels of your [collection](https://payloadcms.com/docs/configuration/collections)
108
-
id | `string` | true | undefined | id of the document
109
-
logo | `ReactElement` | false | undefined | Custom logo
110
-
classNames | `{ logo?: string, user?: string, controls?: string, create?: string, logout?: string, edit?: string, preview?: string }` | false | undefined | Custom class names, one for each rendered element
| cmsURL |`string`| true |`http://localhost:8000`|`serverURL` as defined in your [Payload config](https://payloadcms.com/docs/configuration/overview#options)|
105
+
| adminPath |`string`| false | /admin |`routes` as defined in your [Payload config](https://payloadcms.com/docs/configuration/overview#options)|
106
+
| apiPath |`string`| false | /api |`routes` as defined in your [Payload config](https://payloadcms.com/docs/configuration/overview#options)|
107
+
| collection |`string`| true | undefined | Slug of your [collection](https://payloadcms.com/docs/configuration/collections)|
108
+
| collectionLabels |`{ singular?: string, plural?: string }`| false | undefined | Labels of your [collection](https://payloadcms.com/docs/configuration/collections)|
109
+
| id |`string`| true | undefined | id of the document |
110
+
| logo |`ReactElement`| false | undefined | Custom logo |
111
+
| classNames |`{ logo?: string, user?: string, controls?: string, create?: string, logout?: string, edit?: string, preview?: string }`| false | undefined | Custom class names, one for each rendered element |
0 commit comments