UNPKG

@byomakase/omakase-player

Version:

## Omakase Player - Open source JavaScript framework for building frame accurate video experiences

19 lines (18 loc) 478 B
export interface BasicAuthenticationData { type: 'basic'; username: string; password: string; } export interface BearerAuthenticationData { type: 'bearer'; token: string; } export interface CustomAuthenticationData { type: 'custom'; headers: (url: string) => { headers: { [header: string]: string; }; }; } export type AuthenticationData = BasicAuthenticationData | BearerAuthenticationData | CustomAuthenticationData;