MCPcopy
hub / github.com/ory/hydra / RevokeToken

Method RevokeToken

fosite/handler.go:59–59  ·  view source on GitHub ↗

RevokeToken handles access and refresh token revocation.

(ctx context.Context, token string, tokenType TokenType, client Client)

Source from the content-addressed store, hash-verified

57type RevocationHandler interface {
58 // RevokeToken handles access and refresh token revocation.
59 RevokeToken(ctx context.Context, token string, tokenType TokenType, client Client) error
60}
61
62// PushedAuthorizeEndpointHandler is the interface that handles PAR (https://datatracker.ietf.org/doc/html/rfc9126)

Callers 2

NewRevocationRequestMethod · 0.65
TestNewRevocationRequestFunction · 0.65

Implementers 3

MockRevocationHandlerfosite/internal/revocation_handler.go
MockRevocationHandlerMockRecorderfosite/internal/revocation_handler.go
TokenRevocationHandlerfosite/handler/oauth2/revocation.go

Calls

no outgoing calls

Tested by 1

TestNewRevocationRequestFunction · 0.52