Documentation ¶
Index ¶
- func MissingFeatureErr(feature string) error
- type IamRepo
- type TokenVerifierRepo
- func (repo *TokenVerifierRepo) CheckOrgFeatures(ctx context.Context, orgID string, requiredFeatures ...string) error
- func (repo *TokenVerifierRepo) ProjectIDAndOriginsByClientID(ctx context.Context, clientID string) (projectID string, origins []string, err error)
- func (repo *TokenVerifierRepo) TokenByID(ctx context.Context, tokenID, userID string) (*usr_model.TokenView, error)
- func (repo *TokenVerifierRepo) VerifierClientID(ctx context.Context, appName string) (_ string, err error)
- func (repo *TokenVerifierRepo) VerifyAccessToken(ctx context.Context, tokenString, verifierClientID string) (userID string, agentID string, clientID, prefLang, resourceOwner string, ...)
- type UserGrantRepo
- func (repo *UserGrantRepo) FillIamProjectID(ctx context.Context) error
- func (repo *UserGrantRepo) Health() error
- func (repo *UserGrantRepo) SearchMyMemberships(ctx context.Context) ([]*authz.Membership, error)
- func (repo *UserGrantRepo) SearchMyZitadelPermissions(ctx context.Context) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MissingFeatureErr ¶ added in v0.119.0
Types ¶
type TokenVerifierRepo ¶
type TokenVerifierRepo struct { TokenVerificationKey crypto.EncryptionAlgorithm IAMID string Eventstore v1.Eventstore View *view.View }
func (*TokenVerifierRepo) CheckOrgFeatures ¶ added in v0.119.0
func (*TokenVerifierRepo) ProjectIDAndOriginsByClientID ¶ added in v0.76.1
func (*TokenVerifierRepo) VerifierClientID ¶ added in v0.52.0
func (*TokenVerifierRepo) VerifyAccessToken ¶
type UserGrantRepo ¶
type UserGrantRepo struct { View *view.View IamID string IamProjectID string Auth authz.Config Eventstore v1.Eventstore }
func (*UserGrantRepo) FillIamProjectID ¶ added in v0.22.1
func (repo *UserGrantRepo) FillIamProjectID(ctx context.Context) error
func (*UserGrantRepo) Health ¶
func (repo *UserGrantRepo) Health() error
func (*UserGrantRepo) SearchMyMemberships ¶ added in v0.112.5
func (repo *UserGrantRepo) SearchMyMemberships(ctx context.Context) ([]*authz.Membership, error)
func (*UserGrantRepo) SearchMyZitadelPermissions ¶
func (repo *UserGrantRepo) SearchMyZitadelPermissions(ctx context.Context) ([]string, error)
Click to show internal directories.
Click to hide internal directories.