accountservice

package
v0.0.0-...-e31b469 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(password string, clientID string, accessToken string) (bool, *exception.Exception)

Delete is user delete the account.

func RegisterSystem

func RegisterSystem(systemID string, accessToken string) (string, *exception.Exception)

RegisterSystem : Registe this user in the system.

func SignIn

func SignIn(clientID string, userID string, password string) (string, *exception.Exception)

SignIn the system by the UserID and Password, Authorize the user is legal. Return the access token.

func SignOut

func SignOut(accessToken string) *exception.Exception

func SignUp

func SignUp(user *pd.SignUpUser) (bool, *exception.Exception)

SignUp is user created a account for sign in this system.

func SignVerify

func SignVerify(clientID string, accessToken string, password string) (bool, *exception.Exception)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL