Documentation ¶
Index ¶
- type TokenVerifierRepo
- func (repo *TokenVerifierRepo) Health() error
- func (repo *TokenVerifierRepo) ProjectIDAndOriginsByClientID(ctx context.Context, clientID string) (projectID string, origins []string, err error)
- func (repo *TokenVerifierRepo) VerifierClientID(ctx context.Context, appName string) (clientID, projectID string, err error)
- func (repo *TokenVerifierRepo) VerifyAccessToken(ctx context.Context, tokenString, verifierClientID, projectID string) (userID string, agentID string, clientID, prefLang, resourceOwner string, ...)
- type UserMembershipRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenVerifierRepo ¶
type TokenVerifierRepo struct { TokenVerificationKey crypto.EncryptionAlgorithm IAMID string Eventstore v1.Eventstore View *view.View Query *query.Queries ExternalSecure bool }
func (*TokenVerifierRepo) Health ¶
func (repo *TokenVerifierRepo) Health() error
func (*TokenVerifierRepo) ProjectIDAndOriginsByClientID ¶
func (*TokenVerifierRepo) VerifierClientID ¶
func (*TokenVerifierRepo) VerifyAccessToken ¶
type UserMembershipRepo ¶
func (*UserMembershipRepo) SearchMyMemberships ¶
func (repo *UserMembershipRepo) SearchMyMemberships(ctx context.Context) (_ []*authz.Membership, err error)
Click to show internal directories.
Click to hide internal directories.