utils/authEnvCheck
Esta página aún no está disponible en tu idioma.
Type Aliases
Section titled “Type Aliases”AuthEnvCheckResponse
Section titled “AuthEnvCheckResponse”type AuthEnvCheckResponse = { AUTH0: { CLIENT_ID: string | undefined; CLIENT_SECRET: string | undefined; DOMAIN: string | undefined; ENABLED: boolean; REDIRECT_URI: string | undefined; }; DISCORD: { CLIENT_ID: string | undefined; CLIENT_SECRET: string | undefined; ENABLED: boolean; REDIRECT_URI: string | undefined; }; GITHUB: { CLIENT_ID: string | undefined; CLIENT_SECRET: string | undefined; ENABLED: boolean; REDIRECT_URI: string | undefined; }; GOOGLE: { CLIENT_ID: string | undefined; CLIENT_SECRET: string | undefined; ENABLED: boolean; REDIRECT_URI: string | undefined; }; SHOW_OAUTH: boolean; SHOW_PROVIDER_ERROR: boolean;};
Defined in: studiocms/packages/studiocms/src/utils/authEnvCheck.ts:35^
Properties
Section titled “Properties”AUTH0: { CLIENT_ID: string | undefined; CLIENT_SECRET: string | undefined; DOMAIN: string | undefined; ENABLED: boolean; REDIRECT_URI: string | undefined;};
Defined in: studiocms/packages/studiocms/src/utils/authEnvCheck.ts:54^
CLIENT_ID
Section titled “CLIENT_ID”CLIENT_ID: string | undefined;
CLIENT_SECRET
Section titled “CLIENT_SECRET”CLIENT_SECRET: string | undefined;
DOMAIN
Section titled “DOMAIN”DOMAIN: string | undefined;
ENABLED
Section titled “ENABLED”ENABLED: boolean;
REDIRECT_URI
Section titled “REDIRECT_URI”REDIRECT_URI: string | undefined;
DISCORD
Section titled “DISCORD”DISCORD: { CLIENT_ID: string | undefined; CLIENT_SECRET: string | undefined; ENABLED: boolean; REDIRECT_URI: string | undefined;};
Defined in: studiocms/packages/studiocms/src/utils/authEnvCheck.ts:42^
CLIENT_ID
Section titled “CLIENT_ID”CLIENT_ID: string | undefined;
CLIENT_SECRET
Section titled “CLIENT_SECRET”CLIENT_SECRET: string | undefined;
ENABLED
Section titled “ENABLED”ENABLED: boolean;
REDIRECT_URI
Section titled “REDIRECT_URI”REDIRECT_URI: string | undefined;
GITHUB
Section titled “GITHUB”GITHUB: { CLIENT_ID: string | undefined; CLIENT_SECRET: string | undefined; ENABLED: boolean; REDIRECT_URI: string | undefined;};
Defined in: studiocms/packages/studiocms/src/utils/authEnvCheck.ts:36^
CLIENT_ID
Section titled “CLIENT_ID”CLIENT_ID: string | undefined;
CLIENT_SECRET
Section titled “CLIENT_SECRET”CLIENT_SECRET: string | undefined;
ENABLED
Section titled “ENABLED”ENABLED: boolean;
REDIRECT_URI
Section titled “REDIRECT_URI”REDIRECT_URI: string | undefined;
GOOGLE: { CLIENT_ID: string | undefined; CLIENT_SECRET: string | undefined; ENABLED: boolean; REDIRECT_URI: string | undefined;};
Defined in: studiocms/packages/studiocms/src/utils/authEnvCheck.ts:48^
CLIENT_ID
Section titled “CLIENT_ID”CLIENT_ID: string | undefined;
CLIENT_SECRET
Section titled “CLIENT_SECRET”CLIENT_SECRET: string | undefined;
ENABLED
Section titled “ENABLED”ENABLED: boolean;
REDIRECT_URI
Section titled “REDIRECT_URI”REDIRECT_URI: string | undefined;
SHOW_OAUTH
Section titled “SHOW_OAUTH”SHOW_OAUTH: boolean;
Defined in: studiocms/packages/studiocms/src/utils/authEnvCheck.ts:61^
SHOW_PROVIDER_ERROR
Section titled “SHOW_PROVIDER_ERROR”SHOW_PROVIDER_ERROR: boolean;
Defined in: studiocms/packages/studiocms/src/utils/authEnvCheck.ts:62^
Functions
Section titled “Functions”authEnvCheck()
Section titled “authEnvCheck()”function authEnvCheck(providers: Providers): Promise<AuthEnvCheckResponse>
Defined in: studiocms/packages/studiocms/src/utils/authEnvCheck.ts:65^
Parameters
Section titled “Parameters”providers
Section titled “providers”Providers
Returns
Section titled “Returns”Promise
<AuthEnvCheckResponse
>