Documentation ¶
Index ¶
- Variables
- func CreateJwtSession(phoneNumber string) (int64, error)
- func CreateJwtToken(phoneNumber string, jwtSessionID int64, otp string) (string, error)
- func GetCsrfToken() (string, error)
- func Init(baseUrl, appType string)
- func RefreshJwtToken(phoneNumber string, token string) (string, error)
- func SetWallet(clientID, clientPrivateKey, clientPublicKey string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrZboxApiNotInitialized = errors.New("zboxapi: zboxapi client is not initialized") ErrZboxApiInvalidWallet = errors.New("zboxapi: invalid wallet") )
Functions ¶
func CreateJwtSession ¶
CreateJwtSession create a jwt session
func CreateJwtToken ¶
CreateJwtToken create a fresh jwt token
func RefreshJwtToken ¶
RefreshJwtToken refresh jwt token
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.