zitadel-oidc/pkg
David Sharnoff 34fee029d9 Add an additional, optional, op.Storage interface so that refresh tokens
that are not JWTs do not cause failures when they randomly, sometimes, decrypt
without error

```go
// CanRefreshTokenInfo is an optional additional interface that Storage can support.
// Supporting CanRefreshTokenInfo is required to be able to revoke a refresh token that
// does not happen to also be a JWTs work properly.
type CanRefreshTokenInfo interface {
        // GetRefreshTokenInfo must return oidc.ErrInvalidRefreshToken when presented
	// with a token that is not a refresh token.
	GetRefreshTokenInfo(ctx context.Context, clientID string, token string) (userID string, tokenID string, err error)
}
```
2022-11-14 14:09:00 -08:00
..
client feat: support EndSession with RelyingParty client (#230) 2022-11-14 17:01:19 +01:00
crypto chore(linting): apply gofumpt & goimports to all .go files (#225) 2022-10-05 09:33:10 +02:00
http fix: WithPath on NewCookieHandler set domain instead! (#240) 2022-11-14 16:58:36 +01:00
oidc Add an additional, optional, op.Storage interface so that refresh tokens 2022-11-14 14:09:00 -08:00
op Add an additional, optional, op.Storage interface so that refresh tokens 2022-11-14 14:09:00 -08:00
strings feat: Token Revocation, Request Object and OP Certification (#130) 2021-11-02 13:21:35 +01:00