Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceAuthServer ¶
NewServiceAuthServer is the constructor which initializes health crm's authentication mechanism
Types ¶
type ServiceAuthServer ¶
type ServiceAuthServer interface { LoginUser(ctx context.Context, input *authutils.LoginUserPayload) (*authutils.OAUTHResponse, error) RefreshToken(ctx context.Context, refreshToken string) (*authutils.OAUTHResponse, error) ValidateUser(ctx context.Context, authTokens *authutils.OAUTHResponse) (*authutils.MeResponse, error) HasValidSlade360BearerToken(ctx context.Context, r *http.Request) (bool, map[string]string, *authutils.TokenIntrospectionResponse) }
ServiceAuthServer holds the method defined in authutils library
Click to show internal directories.
Click to hide internal directories.