38 lines
650 B
TypeScript
Raw Normal View History

import { errors } from '@strapi/utils';
/**
* /providers/isSSOLocked
*/
export declare namespace IsSSOLocked {
export interface Request {
body: {};
query: {};
}
export interface Response {
data: {
isSSOLocked: boolean;
};
error?: errors.ApplicationError;
}
}
export interface Provider {
displayName: string;
icon?: string | null;
uid: string;
}
/**
* /providers
*/
export declare namespace GetProviders {
export interface Request {
body: {};
query: {};
}
/**
* TODO: this should follow the expected pattern of returning `data` as an object.
*/
export type Response = Provider[];
}