Documentation ¶
Index ¶
- type TokenServer
- func (self *TokenServer) CreateAccessToken(ctx context.Context, data *pb.Uuid) (*pb.TokenMessage, error)
- func (self *TokenServer) CreateRefreshToken(ctx context.Context, data *pb.CreateRefreshTokenMessage) (*pb.TokenMessage, error)
- func (self *TokenServer) CreateRegisterToken(ctx context.Context, data *pb.Void) (*pb.TokenMessage, error)
- func (self *TokenServer) DeleteRefreshToken(ctx context.Context, data *pb.Uuid) (*pb.DeleteRefreshTokenMessage, error)
- func (self *TokenServer) ReadRefreshToken(ctx context.Context, data *pb.Void) (*pb.RefreshTokenList, error)
- func (self *TokenServer) UpdatehRefreshToken(ctx context.Context, data *pb.Uuid) (*pb.TokenMessage, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenServer ¶
type TokenServer struct {
pb.UnimplementedTokenServer
}
func (*TokenServer) CreateAccessToken ¶ added in v1.1.4
func (self *TokenServer) CreateAccessToken(ctx context.Context, data *pb.Uuid) (*pb.TokenMessage, error)
func (*TokenServer) CreateRefreshToken ¶ added in v1.0.2
func (self *TokenServer) CreateRefreshToken(ctx context.Context, data *pb.CreateRefreshTokenMessage) (*pb.TokenMessage, error)
func (*TokenServer) CreateRegisterToken ¶ added in v1.1.4
func (self *TokenServer) CreateRegisterToken(ctx context.Context, data *pb.Void) (*pb.TokenMessage, error)
func (*TokenServer) DeleteRefreshToken ¶ added in v1.0.2
func (self *TokenServer) DeleteRefreshToken(ctx context.Context, data *pb.Uuid) (*pb.DeleteRefreshTokenMessage, error)
func (*TokenServer) ReadRefreshToken ¶ added in v1.1.4
func (self *TokenServer) ReadRefreshToken(ctx context.Context, data *pb.Void) (*pb.RefreshTokenList, error)
func (*TokenServer) UpdatehRefreshToken ¶ added in v1.0.2
func (self *TokenServer) UpdatehRefreshToken(ctx context.Context, data *pb.Uuid) (*pb.TokenMessage, error)
Click to show internal directories.
Click to hide internal directories.