Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateUserProviderSession(ctx context.Context, userID string, create *auth.ProviderSessionCreate) (*auth.ProviderSession, error)
- func (c *Client) CreateUserRestrictedToken(ctx context.Context, userID string, create *auth.RestrictedTokenCreate) (*auth.RestrictedToken, error)
- func (c *Client) DeleteProviderSession(ctx context.Context, id string) error
- func (c *Client) DeleteRestrictedToken(ctx context.Context, id string) error
- func (c *Client) GetProviderSession(ctx context.Context, id string) (*auth.ProviderSession, error)
- func (c *Client) GetRestrictedToken(ctx context.Context, id string) (*auth.RestrictedToken, error)
- func (c *Client) ListUserProviderSessions(ctx context.Context, userID string, filter *auth.ProviderSessionFilter, ...) (auth.ProviderSessions, error)
- func (c *Client) ListUserRestrictedTokens(ctx context.Context, userID string, filter *auth.RestrictedTokenFilter, ...) (auth.RestrictedTokens, error)
- func (c *Client) UpdateProviderSession(ctx context.Context, id string, update *auth.ProviderSessionUpdate) (*auth.ProviderSession, error)
- func (c *Client) UpdateRestrictedToken(ctx context.Context, id string, update *auth.RestrictedTokenUpdate) (*auth.RestrictedToken, error)
- type Service
- func (s *Service) AuthStore() store.Store
- func (s *Service) DataClient() dataClient.Client
- func (s *Service) Domain() string
- func (s *Service) Initialize() error
- func (s *Service) ProviderFactory() provider.Factory
- func (s *Service) Status() *service.Status
- func (s *Service) TaskClient() task.Client
- func (s *Service) Terminate()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateUserProviderSession ¶
func (c *Client) CreateUserProviderSession(ctx context.Context, userID string, create *auth.ProviderSessionCreate) (*auth.ProviderSession, error)
func (*Client) CreateUserRestrictedToken ¶
func (c *Client) CreateUserRestrictedToken(ctx context.Context, userID string, create *auth.RestrictedTokenCreate) (*auth.RestrictedToken, error)
func (*Client) DeleteProviderSession ¶
func (*Client) DeleteRestrictedToken ¶
func (*Client) GetProviderSession ¶
func (*Client) GetRestrictedToken ¶
func (*Client) ListUserProviderSessions ¶
func (c *Client) ListUserProviderSessions(ctx context.Context, userID string, filter *auth.ProviderSessionFilter, pagination *page.Pagination) (auth.ProviderSessions, error)
func (*Client) ListUserRestrictedTokens ¶
func (c *Client) ListUserRestrictedTokens(ctx context.Context, userID string, filter *auth.RestrictedTokenFilter, pagination *page.Pagination) (auth.RestrictedTokens, error)
func (*Client) UpdateProviderSession ¶
func (c *Client) UpdateProviderSession(ctx context.Context, id string, update *auth.ProviderSessionUpdate) (*auth.ProviderSession, error)
func (*Client) UpdateRestrictedToken ¶
func (c *Client) UpdateRestrictedToken(ctx context.Context, id string, update *auth.RestrictedTokenUpdate) (*auth.RestrictedToken, error)
type Service ¶
type Service struct { *serviceService.Service // contains filtered or unexported fields }
func (*Service) DataClient ¶
func (s *Service) DataClient() dataClient.Client
func (*Service) Initialize ¶
func (*Service) ProviderFactory ¶
func (*Service) TaskClient ¶
Click to show internal directories.
Click to hide internal directories.