Merge pull request #17108 from afscrome/easyauthexport

Properly expose easy auth provider
This commit is contained in:
Johan Haals
2023-04-05 10:07:00 +02:00
committed by GitHub
9 changed files with 39 additions and 6 deletions
@@ -15,4 +15,4 @@
*/
export { easyAuth } from './provider';
export type { EasyAuthResponse } from './provider';
export type { EasyAuthResult } from './provider';
@@ -38,6 +38,7 @@ type Options = {
resolverContext: AuthResolverContext;
};
/** @public */
export type EasyAuthResult = {
fullProfile: Profile;
accessToken?: string;
@@ -15,6 +15,7 @@
*/
export type { AwsAlbResult } from './aws-alb';
export type { EasyAuthResult } from './azure-easyauth';
export type {
BitbucketOAuthResult,
BitbucketPassportProfile,
@@ -32,6 +32,7 @@ import { onelogin } from './onelogin';
import { saml } from './saml';
import { AuthProviderFactory } from './types';
import { bitbucketServer } from './bitbucketServer';
import { easyAuth } from './azure-easyauth';
/**
* All built-in auth provider integrations.
@@ -56,6 +57,7 @@ export const providers = Object.freeze({
okta,
onelogin,
saml,
easyAuth,
});
/**
@@ -73,6 +75,7 @@ export const defaultAuthProviderFactories: {
okta: okta.create(),
auth0: auth0.create(),
microsoft: microsoft.create(),
easyAuth: easyAuth.create(),
oauth2: oauth2.create(),
oidc: oidc.create(),
onelogin: onelogin.create(),