Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityClient ¶
type IdentityClient interface {
CheckTokenIdentity(ctx context.Context, token string, tokenType identity.TokenType) (*dprequest.IdentityResponse, error)
}
IdentityClient interface contains one method
type ZebedeeClient ¶
type ZebedeeClient struct {
Client IdentityClient
}
ZebedeeClient contains zebedee client handler
func NewZebedeeClient ¶
func NewZebedeeClient(zebedeeURL string) *ZebedeeClient
NewZebedeeIdentity creates a new zebedee identity client
func (ZebedeeClient) CheckTokenIdentity ¶
func (z ZebedeeClient) CheckTokenIdentity(ctx context.Context, token string) (*dprequest.IdentityResponse, error)
CheckTokenIdentity calls dp-api-clients-go/identity to check service token
Click to show internal directories.
Click to hide internal directories.