authenticate_user
Verify user credentials and generate authentication tokens for accessing PocketBase database resources. Provide email and password to obtain secure session tokens with configurable auto-refresh settings.
Instructions
Authenticate a user and get auth token
Input Schema
Name | Required | Description | Default |
---|---|---|---|
autoRefreshThreshold | No | Time in seconds that will trigger token auto refresh before its expiration (default: 30 minutes) | |
collection | No | Auth collection name (default: 'users') | |
Yes | User email or identity field value | ||
password | Yes | User password |
Input Schema (JSON Schema)
{
"properties": {
"autoRefreshThreshold": {
"description": "Time in seconds that will trigger token auto refresh before its expiration (default: 30 minutes)",
"type": "number"
},
"collection": {
"description": "Auth collection name (default: 'users')",
"type": "string"
},
"email": {
"description": "User email or identity field value",
"type": "string"
},
"password": {
"description": "User password",
"type": "string"
}
},
"required": [
"email",
"password"
],
"type": "object"
}