tokenservice

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignAccessToken

func SignAccessToken(clientID string) (string, *exception.Exception)

SignAccessToken : Sign an access token by client ID, and created a system session.

func SignToken

func SignToken(accessToken string, systemID string, roles *[]domain.Role) (string, *exception.Exception)

Types

This section is empty.

Jump to

Keyboard shortcuts

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