Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingService ¶
LoggingService represents iam logging service
func NewLoggingService ¶
func NewLoggingService(svc iam.IAM, logger twisk.Logger) *LoggingService
NewLoggingService creates new Template logging service
func (*LoggingService) Auth ¶
func (ls *LoggingService) Auth(ctx context.Context, req *iam.AuthReq) (resp *iam.AuthResp, err error)
Auth logging
func (*LoggingService) Refresh ¶
func (ls *LoggingService) Refresh(ctx context.Context, req *iam.RefreshReq) (resp *iam.RefreshResp, err error)
Refresh token logging
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service represents IAM application service
func (*Service) Refresh ¶
func (s *Service) Refresh(c context.Context, req *iam.RefreshReq) (*iam.RefreshResp, error)
Refresh refreshes user's jwt token
type TokenGenerator ¶
TokenGenerator generates new jwt token
Click to show internal directories.
Click to hide internal directories.