mirror of https://github.com/ghostfolio/ghostfolio
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
502 B
31 lines
502 B
import { AuthDeviceDto } from '@ghostfolio/common/dtos';
|
|
|
|
import { Provider } from '@prisma/client';
|
|
|
|
export interface AuthDeviceDialogParams {
|
|
authDevice: AuthDeviceDto;
|
|
}
|
|
|
|
export interface OidcContext {
|
|
claims?: {
|
|
sub?: string;
|
|
};
|
|
}
|
|
|
|
export interface OidcIdToken {
|
|
sub?: string;
|
|
}
|
|
|
|
export interface OidcParams {
|
|
sub?: string;
|
|
}
|
|
|
|
export interface OidcProfile {
|
|
id?: string;
|
|
sub?: string;
|
|
}
|
|
|
|
export interface ValidateOAuthLoginParams {
|
|
provider: Provider;
|
|
thirdPartyId: string;
|
|
}
|
|
|