Documentation ¶
Index ¶
- type ProviderSessionSession
- func (p *ProviderSessionSession) CreateUserProviderSession(ctx context.Context, userID string, create *auth.ProviderSessionCreate) (*auth.ProviderSession, error)
- func (p *ProviderSessionSession) DeleteProviderSession(ctx context.Context, id string) error
- func (p *ProviderSessionSession) EnsureIndexes() error
- func (p *ProviderSessionSession) GetProviderSession(ctx context.Context, id string) (*auth.ProviderSession, error)
- func (p *ProviderSessionSession) ListUserProviderSessions(ctx context.Context, userID string, filter *auth.ProviderSessionFilter, ...) (auth.ProviderSessions, error)
- func (p *ProviderSessionSession) UpdateProviderSession(ctx context.Context, id string, update *auth.ProviderSessionUpdate) (*auth.ProviderSession, error)
- type RestrictedTokenSession
- func (r *RestrictedTokenSession) CreateUserRestrictedToken(ctx context.Context, userID string, create *auth.RestrictedTokenCreate) (*auth.RestrictedToken, error)
- func (r *RestrictedTokenSession) DeleteRestrictedToken(ctx context.Context, id string) error
- func (r *RestrictedTokenSession) EnsureIndexes() error
- func (r *RestrictedTokenSession) GetRestrictedToken(ctx context.Context, id string) (*auth.RestrictedToken, error)
- func (r *RestrictedTokenSession) ListUserRestrictedTokens(ctx context.Context, userID string, filter *auth.RestrictedTokenFilter, ...) (auth.RestrictedTokens, error)
- func (r *RestrictedTokenSession) UpdateRestrictedToken(ctx context.Context, id string, update *auth.RestrictedTokenUpdate) (*auth.RestrictedToken, error)
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProviderSessionSession ¶
func (*ProviderSessionSession) CreateUserProviderSession ¶
func (p *ProviderSessionSession) CreateUserProviderSession(ctx context.Context, userID string, create *auth.ProviderSessionCreate) (*auth.ProviderSession, error)
func (*ProviderSessionSession) DeleteProviderSession ¶
func (p *ProviderSessionSession) DeleteProviderSession(ctx context.Context, id string) error
func (*ProviderSessionSession) EnsureIndexes ¶
func (p *ProviderSessionSession) EnsureIndexes() error
func (*ProviderSessionSession) GetProviderSession ¶
func (p *ProviderSessionSession) GetProviderSession(ctx context.Context, id string) (*auth.ProviderSession, error)
func (*ProviderSessionSession) ListUserProviderSessions ¶
func (p *ProviderSessionSession) ListUserProviderSessions(ctx context.Context, userID string, filter *auth.ProviderSessionFilter, pagination *page.Pagination) (auth.ProviderSessions, error)
func (*ProviderSessionSession) UpdateProviderSession ¶
func (p *ProviderSessionSession) UpdateProviderSession(ctx context.Context, id string, update *auth.ProviderSessionUpdate) (*auth.ProviderSession, error)
type RestrictedTokenSession ¶
func (*RestrictedTokenSession) CreateUserRestrictedToken ¶
func (r *RestrictedTokenSession) CreateUserRestrictedToken(ctx context.Context, userID string, create *auth.RestrictedTokenCreate) (*auth.RestrictedToken, error)
func (*RestrictedTokenSession) DeleteRestrictedToken ¶
func (r *RestrictedTokenSession) DeleteRestrictedToken(ctx context.Context, id string) error
func (*RestrictedTokenSession) EnsureIndexes ¶
func (r *RestrictedTokenSession) EnsureIndexes() error
func (*RestrictedTokenSession) GetRestrictedToken ¶
func (r *RestrictedTokenSession) GetRestrictedToken(ctx context.Context, id string) (*auth.RestrictedToken, error)
func (*RestrictedTokenSession) ListUserRestrictedTokens ¶
func (r *RestrictedTokenSession) ListUserRestrictedTokens(ctx context.Context, userID string, filter *auth.RestrictedTokenFilter, pagination *page.Pagination) (auth.RestrictedTokens, error)
func (*RestrictedTokenSession) UpdateRestrictedToken ¶
func (r *RestrictedTokenSession) UpdateRestrictedToken(ctx context.Context, id string, update *auth.RestrictedTokenUpdate) (*auth.RestrictedToken, error)
type Store ¶
func (*Store) EnsureIndexes ¶
func (*Store) NewProviderSessionSession ¶
func (s *Store) NewProviderSessionSession() store.ProviderSessionSession
func (*Store) NewRestrictedTokenSession ¶
func (s *Store) NewRestrictedTokenSession() store.RestrictedTokenSession
Click to show internal directories.
Click to hide internal directories.