dynamodb

package
v1.0.1-0...-49adebd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 New

func New(id, secret, region string, logger *zap.Logger) (*DynamoDB, error)

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) GetClient

func (s *DynamoDB) GetClient(id string) (*oauth2.Client, error)

func (*DynamoDB) GetClientWithSecret

func (s *DynamoDB) GetClientWithSecret(id, secret string) (*oauth2.Client, error)

func (*DynamoDB) GetRefreshToken

func (s *DynamoDB) GetRefreshToken(refreshToken string) (*oauth2.RefreshToken, error)

func (*DynamoDB) IsAvailableScope

func (s *DynamoDB) IsAvailableScope(scopes []string) (bool, error)

func (*DynamoDB) RevokeAccessToken

func (s *DynamoDB) RevokeAccessToken(accessToken string) error

func (*DynamoDB) RevokeRefreshToken

func (s *DynamoDB) RevokeRefreshToken(refreshToken string) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL