Merge pull request #21993 from Ericsson/configuration_token_expiry

Ability for Users to configure auth token expiration [19341]
This commit is contained in:
Patrik Oldsberg
2024-02-03 12:58:56 +01:00
committed by GitHub
7 changed files with 119 additions and 6 deletions
+6
View File
@@ -14,6 +14,8 @@
* limitations under the License.
*/
import { HumanDuration } from '@backstage/types';
export interface Config {
/** Configuration options for the auth plugin */
auth?: {
@@ -184,6 +186,10 @@ export interface Config {
cfaccess?: {
teamName: string;
};
/**
* The backstage token expiration.
*/
backstageTokenExpiration?: HumanDuration;
};
};
}