awscdk-construct-scte-scheduler
Version:
AWS CDK Construct for scheduling SCTE-35 events using the MediaLive schedule API
15 lines (14 loc) • 385 B
JavaScript
export class DefaultIdentityProviderConfig {
authSchemes = new Map();
constructor(config) {
for (const key in config) {
const value = config[key];
if (value !== undefined) {
this.authSchemes.set(key, value);
}
}
}
getIdentityProvider(schemeId) {
return this.authSchemes.get(schemeId);
}
}