update documentation location

Signed-off-by: Fabian Hippmann <fabian.hippmann@moonshiner.at>
This commit is contained in:
Fabian Hippmann
2021-07-06 12:10:59 +02:00
committed by Fredrik Adelöw
parent 9fa77c4b91
commit 876a5351d8
2 changed files with 16 additions and 16 deletions
@@ -18,21 +18,18 @@ import {
AuthProviderRouteHandlers,
AuthResponse
} from '@backstage/plugin-auth-backend';
import {
ExperimentalIdentityResolver,
} from '../types';
import express from 'express';
import { Logger } from 'winston';
import { CatalogApi } from '@backstage/catalog-client';
const { OAuth2Client } = require('google-auth-library');
import { OAuth2Client } from 'google-auth-library';
const IAP_JWT_HEADER = 'x-goog-iap-jwt-assertion';
export type ExperimentalIdentityResolver = (
/**
* An object containing information specific to the auth provider.
*/
payload: object,
catalogApi: CatalogApi,
) => Promise<AuthResponse<any>>;
export type GcpIAPProviderOptions = {
audience: string;
identityResolutionCallback: ExperimentalIdentityResolver;