signin
Signin
This method allows you to signin SurrealDB as root user
Parameters
user
The username to authenticate with
pass
The password to authenticate with
Signin
This method allows you to signin SurrealDB as scoped user
Return
The authentication token for the user session
Parameters
ns
The namespace to sign in to
db
The database to sign in to
scope
The scope to sign in to
params
A set of variables used to authenticate