signup

suspend fun Surreal.signup(ns: String, db: String, scope: String, params: List<Bind>): String
suspend fun Surreal.signup(ns: String, db: String, scope: String, vararg params: Bind): String

Signup

This method allows you to signup a user against a scope's SIGNUP method

Return

The authentication token for the user session

Parameters

ns

Specifies the namespace of the scope

db

Specifies the database of the scope

scope

Specifies the scope

params

A set of variables used to authenticate