MCPcopy Create free account
hub / github.com/crewjam/saml / Revoke

Method Revoke

samlsp/session_revocation.go:119–119  ·  view source on GitHub ↗

Revoke records that the sessions with key issued at or before revokedAt are revoked. If key is already recorded, the later of the two times is kept. The record is needed until expiresAt, when every such session has expired, and may be dropped after that.

(ctx context.Context, key string, revokedAt, expiresAt time.Time)

Source from the content-addressed store, hash-verified

117 // two times is kept. The record is needed until expiresAt, when every
118 // such session has expired, and may be dropped after that.
119 Revoke(ctx context.Context, key string, revokedAt, expiresAt time.Time) error
120
121 // RevokedAt returns the time recorded for key, or the zero time if
122 // none is recorded (or its record has expired).

Callers 2

TestMemoryStoresClockFunction · 0.65
TerminateSessionsMethod · 0.65

Implementers 2

failingRevocationStoresamlsp/middleware_soap_logout_test.go
MemorySessionRevocationStoresamlsp/session_revocation.go

Calls

no outgoing calls

Tested by 1

TestMemoryStoresClockFunction · 0.52