mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-22 10:16:38 +00:00
Checkpoint: 5eaefec1fa77
Entire-Session: 65af23f9-7507-4dae-8f76-dd52adca273b Entire-Strategy: manual-commit Entire-Agent: Claude Code Ephemeral-branch: entire/04dcaad-e3b0c4
This commit is contained in:
44
5e/aefec1fa77/1/context.md
Normal file
44
5e/aefec1fa77/1/context.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Session Context
|
||||
|
||||
## User Prompts
|
||||
|
||||
### Prompt 1
|
||||
|
||||
given the func (v *Validator) refreshKeys(ctx context.Context) {
|
||||
v.lock.Lock()
|
||||
defer v.lock.Unlock()
|
||||
|
||||
refreshedKeys, err := getPemKeys(v.keysLocation)
|
||||
if err != nil {
|
||||
log.WithContext(ctx).Debugf("cannot get JSONWebKey: %v, falling back to old keys", err)
|
||||
return
|
||||
}
|
||||
|
||||
log.WithContext(ctx).Debugf("keys refreshed, new UTC expiration time: %s", refreshedKeys.expiresInTime.UTC())
|
||||
v.keys = refreshedKeys
|
||||
} I want to have another function specifically made for th...
|
||||
|
||||
### Prompt 2
|
||||
|
||||
make sure the verification of the keys from db is done according to the original function. e.g., expiration checks etc
|
||||
|
||||
### Prompt 3
|
||||
|
||||
use the same code as in dex itself
|
||||
|
||||
### Prompt 4
|
||||
|
||||
[Request interrupted by user for tool use]
|
||||
|
||||
### Prompt 5
|
||||
|
||||
just use ../dexidp folder
|
||||
|
||||
### Prompt 6
|
||||
|
||||
what is jwks.ExpiresInTime = time.Now().Add(1 * time.Hour)
|
||||
|
||||
### Prompt 7
|
||||
|
||||
how is it done in the original function?
|
||||
|
||||
Reference in New Issue
Block a user