mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-03-27 08:15:39 +02:00
Merge branch 'master' into develop
This commit is contained in:
commit
1abd6ca5c0
plugins/jsvm/internal/types
7780
plugins/jsvm/internal/types/generated/types.d.ts
vendored
7780
plugins/jsvm/internal/types/generated/types.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@ -1002,9 +1002,20 @@ declare namespace $apis {
|
||||
let skipSuccessActivityLog: apis.skipSuccessActivityLog
|
||||
let gzip: apis.gzip
|
||||
let bodyLimit: apis.bodyLimit
|
||||
let recordAuthResponse: apis.recordAuthResponse
|
||||
let enrichRecord: apis.enrichRecord
|
||||
let enrichRecords: apis.enrichRecords
|
||||
|
||||
/**
|
||||
* RecordAuthResponse writes standardized json record auth response
|
||||
* into the specified request event.
|
||||
*
|
||||
* The authMethod argument specify the name of the current authentication method (eg. password, oauth2, etc.)
|
||||
* that it is used primarily as an auth identifier during MFA and for login alerts.
|
||||
*
|
||||
* Set authMethod to empty string if you want to ignore the MFA checks and the login alerts
|
||||
* (can be also adjusted additionally via the onRecordAuthRequest hook).
|
||||
*/
|
||||
export function recordAuthResponse(e: core.RequestEvent, authRecord: core.Record, authMethod: string, meta?: any): void
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user