Documentation ¶
Index ¶
- Variables
- type Logger
- type Store
- func (s *Store) AddOfflineGrantRefreshToken(ctx context.Context, grantID string, expireAt time.Time, tokenHash string, ...) (*oauth.OfflineGrant, error)
- func (s *Store) AddOfflineGrantSAMLServiceProviderParticipant(ctx context.Context, grantID string, newServiceProviderID string, ...) (*oauth.OfflineGrant, error)
- func (s *Store) CleanUpForDeletingUserID(ctx context.Context, userID string) (err error)
- func (s *Store) ConsumePreAuthenticatedURLToken(ctx context.Context, tokenHash string) (*oauth.PreAuthenticatedURLToken, error)
- func (s *Store) CreateAccessGrant(ctx context.Context, grant *oauth.AccessGrant) error
- func (s *Store) CreateAppSession(ctx context.Context, session *oauth.AppSession) error
- func (s *Store) CreateAppSessionToken(ctx context.Context, token *oauth.AppSessionToken) error
- func (s *Store) CreateCodeGrant(ctx context.Context, grant *oauth.CodeGrant) error
- func (s *Store) CreateOfflineGrant(ctx context.Context, grant *oauth.OfflineGrant) error
- func (s *Store) CreatePreAuthenticatedURLToken(ctx context.Context, token *oauth.PreAuthenticatedURLToken) error
- func (s *Store) CreateSettingsActionGrant(ctx context.Context, grant *oauth.SettingsActionGrant) error
- func (s *Store) DeleteAccessGrant(ctx context.Context, grant *oauth.AccessGrant) error
- func (s *Store) DeleteAppSession(ctx context.Context, session *oauth.AppSession) error
- func (s *Store) DeleteAppSessionToken(ctx context.Context, token *oauth.AppSessionToken) error
- func (s *Store) DeleteCodeGrant(ctx context.Context, grant *oauth.CodeGrant) error
- func (s *Store) DeleteOfflineGrant(ctx context.Context, grant *oauth.OfflineGrant) error
- func (s *Store) DeleteSettingsActionGrant(ctx context.Context, grant *oauth.SettingsActionGrant) error
- func (s *Store) GetAccessGrant(ctx context.Context, tokenHash string) (*oauth.AccessGrant, error)
- func (s *Store) GetAppSession(ctx context.Context, tokenHash string) (*oauth.AppSession, error)
- func (s *Store) GetAppSessionToken(ctx context.Context, tokenHash string) (*oauth.AppSessionToken, error)
- func (s *Store) GetCodeGrant(ctx context.Context, codeHash string) (*oauth.CodeGrant, error)
- func (s *Store) GetOfflineGrantWithoutExpireAt(ctx context.Context, id string) (*oauth.OfflineGrant, error)
- func (s *Store) GetSettingsActionGrant(ctx context.Context, codeHash string) (*oauth.SettingsActionGrant, error)
- func (s *Store) ListClientOfflineGrants(ctx context.Context, clientID string, userID string) ([]*oauth.OfflineGrant, error)
- func (s *Store) ListOfflineGrants(ctx context.Context, userID string) ([]*oauth.OfflineGrant, error)
- func (s *Store) RemoveOfflineGrantRefreshTokens(ctx context.Context, grantID string, tokenHashes []string, expireAt time.Time) (*oauth.OfflineGrant, error)
- func (s *Store) UpdateOfflineGrantApp2AppDeviceKey(ctx context.Context, grantID string, newKey string, expireAt time.Time) (*oauth.OfflineGrant, error)
- func (s *Store) UpdateOfflineGrantAuthenticatedAt(ctx context.Context, grantID string, authenticatedAt time.Time, ...) (*oauth.OfflineGrant, error)
- func (s *Store) UpdateOfflineGrantDeviceInfo(ctx context.Context, grantID string, deviceInfo map[string]interface{}, ...) (*oauth.OfflineGrant, error)
- func (s *Store) UpdateOfflineGrantDeviceSecretHash(ctx context.Context, grantID string, newDeviceSecretHash string, ...) (*oauth.OfflineGrant, error)
- func (s *Store) UpdateOfflineGrantLastAccess(ctx context.Context, grantID string, accessEvent access.Event, ...) (*oauth.OfflineGrant, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { Redis *appredis.Handle AppID config.AppID Logger Logger SQLBuilder *appdb.SQLBuilderApp SQLExecutor *appdb.SQLExecutor Clock clock.Clock }
func (*Store) AddOfflineGrantRefreshToken ¶
func (*Store) AddOfflineGrantSAMLServiceProviderParticipant ¶
func (*Store) CleanUpForDeletingUserID ¶
func (*Store) ConsumePreAuthenticatedURLToken ¶
func (*Store) CreateAccessGrant ¶
func (*Store) CreateAppSession ¶
func (*Store) CreateAppSessionToken ¶
func (*Store) CreateCodeGrant ¶
func (*Store) CreateOfflineGrant ¶
func (*Store) CreatePreAuthenticatedURLToken ¶
func (*Store) CreateSettingsActionGrant ¶
func (*Store) DeleteAccessGrant ¶
func (*Store) DeleteAppSession ¶
func (*Store) DeleteAppSessionToken ¶
func (*Store) DeleteCodeGrant ¶
func (*Store) DeleteOfflineGrant ¶
func (*Store) DeleteSettingsActionGrant ¶
func (*Store) GetAccessGrant ¶
func (*Store) GetAppSession ¶
func (*Store) GetAppSessionToken ¶
func (*Store) GetCodeGrant ¶
func (*Store) GetOfflineGrantWithoutExpireAt ¶
func (*Store) GetSettingsActionGrant ¶
func (*Store) ListClientOfflineGrants ¶
func (*Store) ListOfflineGrants ¶
func (*Store) RemoveOfflineGrantRefreshTokens ¶
func (*Store) UpdateOfflineGrantApp2AppDeviceKey ¶
func (*Store) UpdateOfflineGrantAuthenticatedAt ¶
func (*Store) UpdateOfflineGrantDeviceInfo ¶
func (*Store) UpdateOfflineGrantDeviceSecretHash ¶
Click to show internal directories.
Click to hide internal directories.