👔 Changed token.Verified use case signature

This commit is contained in:
Maxim Lebedev 2022-02-25 20:32:18 +05:00
parent 2b97bde091
commit b92af9dcbc
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5
1 changed files with 1 additions and 1 deletions

View File

@ -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