From b92af9dcbc2f2c2f66ce81bbf9f4859ffd84c49e Mon Sep 17 00:00:00 2001 From: Maxim Lebedev Date: Fri, 25 Feb 2022 20:32:18 +0500 Subject: [PATCH] :necktie: Changed token.Verified use case signature --- internal/token/usecase.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/token/usecase.go b/internal/token/usecase.go index 2b43eb4..fd2ae24 100644 --- a/internal/token/usecase.go +++ b/internal/token/usecase.go @@ -18,7 +18,7 @@ type ( Exchange(ctx context.Context, opts ExchangeOptions) (*domain.Token, *domain.Profile, error) // Verify checks the AccessToken and returns the associated information. - Verify(ctx context.Context, accessToken string) (*domain.Token, error) + Verify(ctx context.Context, accessToken string) (*domain.Token, *domain.Profile, error) // Revoke revokes the AccessToken and blocks its further use. Revoke(ctx context.Context, accessToken string) error