Documentation ¶
Index ¶
- type DynamoDB
- func (s *DynamoDB) GetAccessToken(accessToken string) (*oauth2.AccessToken, error)
- func (s *DynamoDB) GetAuthorizeCode(code string) (*oauth2.AuthorizeCode, error)
- func (s *DynamoDB) GetClient(id string) (*oauth2.Client, error)
- func (s *DynamoDB) GetClientWithSecret(id, secret string) (*oauth2.Client, error)
- func (s *DynamoDB) GetRefreshToken(refreshToken string) (*oauth2.RefreshToken, error)
- func (s *DynamoDB) IsAvailableScope(scopes []string) (bool, error)
- func (s *DynamoDB) RevokeAccessToken(accessToken string) error
- func (s *DynamoDB) RevokeRefreshToken(refreshToken string) error
- func (s *DynamoDB) SaveAccessToken(accessToken *oauth2.AccessToken) error
- func (s *DynamoDB) SaveAuthorizeCode(authCode *oauth2.AuthorizeCode) error
- func (s *DynamoDB) SaveRefreshToken(refreshToken *oauth2.RefreshToken) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamoDB ¶
type DynamoDB struct {
// contains filtered or unexported fields
}
func (*DynamoDB) GetAccessToken ¶
func (s *DynamoDB) GetAccessToken(accessToken string) (*oauth2.AccessToken, error)
func (*DynamoDB) GetAuthorizeCode ¶
func (s *DynamoDB) GetAuthorizeCode(code string) (*oauth2.AuthorizeCode, error)
func (*DynamoDB) GetClientWithSecret ¶
func (*DynamoDB) GetRefreshToken ¶
func (s *DynamoDB) GetRefreshToken(refreshToken string) (*oauth2.RefreshToken, error)
func (*DynamoDB) IsAvailableScope ¶
func (*DynamoDB) RevokeAccessToken ¶
func (*DynamoDB) RevokeRefreshToken ¶
func (*DynamoDB) SaveAccessToken ¶
func (s *DynamoDB) SaveAccessToken(accessToken *oauth2.AccessToken) error
func (*DynamoDB) SaveAuthorizeCode ¶
func (s *DynamoDB) SaveAuthorizeCode(authCode *oauth2.AuthorizeCode) error
func (*DynamoDB) SaveRefreshToken ¶
func (s *DynamoDB) SaveRefreshToken(refreshToken *oauth2.RefreshToken) error
Click to show internal directories.
Click to hide internal directories.