1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-16 00:06:40 +01:00
unleash.unleash/frontend/src/openapi/models/googleSettingsSchema.ts

24 lines
831 B
TypeScript
Raw Normal View History

2023-01-05 11:57:53 +01:00
/**
2023-03-15 13:30:07 +01:00
* Generated by Orval
2023-01-05 11:57:53 +01:00
* Do not edit manually.
2023-03-15 13:30:07 +01:00
* See `gen:api` script in package.json
2023-01-05 11:57:53 +01:00
*/
/**
* Configuration for using Google Authentication
*/
2023-01-05 11:57:53 +01:00
export interface GoogleSettingsSchema {
/** Is google OIDC enabled */
2023-01-05 11:57:53 +01:00
enabled?: boolean;
/** The google client id, used to authenticate against google */
2023-01-05 11:57:53 +01:00
clientId: string;
/** The client secret used to authenticate the OAuth session used to log the user in */
2023-01-05 11:57:53 +01:00
clientSecret: string;
/** Name of the host allowed to access the Google authentication flow */
2023-01-05 11:57:53 +01:00
unleashHostname: string;
/** Should Unleash create users based on the emails coming back in the authentication reply from Google */
2023-01-05 11:57:53 +01:00
autoCreate?: boolean;
/** A comma separated list of email domains that Unleash will auto create user accounts for. */
2023-01-05 11:57:53 +01:00
emailDomains?: string;
}