GetAndRemoveState atomically retrieves and deletes the state entry. Returns the state value and removes it in a single operation to prevent authorization code replay (RFC 6749 §4.1.2).
(key string)
| 67 | // Returns the state value and removes it in a single operation to |
| 68 | // prevent authorization code replay (RFC 6749 §4.1.2). |
| 69 | GetAndRemoveState(key string) (string, error) |
| 70 | |
| 71 | // SetCache stores a key-value pair with a TTL in seconds. |
| 72 | // Used by the authorization engine for permission evaluation caching. |
no outgoing calls
no test coverage detected