Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamodbAuthenticationTokenRepository ¶
func (*DynamodbAuthenticationTokenRepository) Create ¶
func (r *DynamodbAuthenticationTokenRepository) Create(item domain.AuthenticationTokens) error
func (*DynamodbAuthenticationTokenRepository) FindByToken ¶
func (r *DynamodbAuthenticationTokenRepository) FindByToken(token string) (*domain.AuthenticationTokens, error)
type HttpCognitoJwkRepository ¶
type HttpCognitoJwkRepository struct {
Iss string
}
type JwxCognitoJwtTokenRepository ¶
https://github.com/lestrrat-go/jwx を利用して実装
func (*JwxCognitoJwtTokenRepository) ParseAndValidateAccessToken ¶
func ( r *JwxCognitoJwtTokenRepository, ) ParseAndValidateAccessToken( tokenStr string, ) ( *domain.CognitoAccessToken, error, )
func (*JwxCognitoJwtTokenRepository) ParseAndValidateIdToken ¶
func (r *JwxCognitoJwtTokenRepository) ParseAndValidateIdToken(tokenStr string) (*domain.CognitoIdToken, error)
Click to show internal directories.
Click to hide internal directories.