Update code for fosite changes

This commit is contained in:
Joshua Casey
2025-02-03 10:28:15 -06:00
parent 4fdb931141
commit 5c39374915

View File

@@ -1,4 +1,4 @@
// Copyright 2020-2023 the Pinniped contributors. All Rights Reserved.
// Copyright 2020-2025 the Pinniped contributors. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
package storage
@@ -61,3 +61,7 @@ func (d *DynamicGlobalSecretConfig) GetRotatedGlobalSecrets(_ctx context.Context
// We don't support having multiple global secrets yet, but when we do we will need to implement this.
return nil, nil
}
func (d *DynamicGlobalSecretConfig) GetDeviceAndUserCodeLifespan(_ctx context.Context) time.Duration {
return d.fositeConfig.DeviceAndUserCodeLifespan
}