Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationTokenRepository ¶
type AuthenticationTokenRepository interface { Create(item AuthenticationTokens) error FindByToken(token string) (*AuthenticationTokens, error) }
type AuthenticationTokens ¶
type AuthenticationTokensCreator ¶
type AuthenticationTokensCreator struct { Token string CognitoSub string SubscribeNews bool Time time.Time }
func (*AuthenticationTokensCreator) Create ¶
func (c *AuthenticationTokensCreator) Create() (*AuthenticationTokens, error)
type CognitoAccessToken ¶
type CognitoIdToken ¶
type CognitoJwkRepository ¶
type CognitoJwtTokenRepository ¶
type CognitoJwtTokenRepository interface { ParseAndValidateIdToken(tokenStr string) (*CognitoIdToken, error) ParseAndValidateAccessToken(tokenStr string) (*CognitoAccessToken, error) }
Click to show internal directories.
Click to hide internal directories.