Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthGrpcService ¶
type AuthGrpcService interface {
VerifyAccessToken(*pb.VerifyAccessTokenRequest, string) (*pb.VerifyAccessTokenResponse, error)
}
func NewAuthServiceGrpcClient ¶
func NewAuthServiceGrpcClient(serverAddress string, serviceAuthPrivateKeys []string) (AuthGrpcService, error)
type AuthServiceGrpcClient ¶
type AuthServiceGrpcClient struct {
// contains filtered or unexported fields
}
func (*AuthServiceGrpcClient) Close ¶
func (c *AuthServiceGrpcClient) Close() error
func (*AuthServiceGrpcClient) VerifyAccessToken ¶
func (c *AuthServiceGrpcClient) VerifyAccessToken(payload *pb.VerifyAccessTokenRequest, accessToken string) (*pb.VerifyAccessTokenResponse, error)
Click to show internal directories.
Click to hide internal directories.