Methods
# setAuth(token, data)
Set auth data.
Parameters:
Name | Type | Default | Description |
---|---|---|---|
token |
string
|
null | authentification token |
data |
object
|
null | authentification data |