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
|
|
|
*/
|
|
|
|
|
2023-07-20 12:59:55 +02:00
|
|
|
/**
|
|
|
|
* Configuration for using Google Authentication
|
|
|
|
*/
|
2023-01-05 11:57:53 +01:00
|
|
|
export interface GoogleSettingsSchema {
|
2023-07-20 12:59:55 +02:00
|
|
|
/** Is google OIDC enabled */
|
2023-01-05 11:57:53 +01:00
|
|
|
enabled?: boolean;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** The google client id, used to authenticate against google */
|
2023-01-05 11:57:53 +01:00
|
|
|
clientId: string;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** 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;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** Name of the host allowed to access the Google authentication flow */
|
2023-01-05 11:57:53 +01:00
|
|
|
unleashHostname: string;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** 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;
|
2023-07-20 12:59:55 +02:00
|
|
|
/** 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;
|
|
|
|
}
|