PocketBase.authWithPassword

Authenticates on the given auth table with the provided credentials, returning a JWT token in the reference parameter. Finally returning the record of the authenticated user.

class PocketBase
public
RecordType
authWithPassword
(
RecordType
)
(
string table
,
string identity
,
string password
,
ref string token
)

Parameters

table string

the auth collection to use

identity string

the user's identity

password string

the user's password

token string

the variable to return into

Return Value

Type: RecordType

An instance of RecordType

Meta