UNPKG

oidc-client-rx

Version:

ReactiveX enhanced OIDC and OAuth2 protocol support for browser-based JavaScript applications

13 lines (12 loc) 361 B
import { POSITIVE_VALIDATION_RESULT } from "../rule.js"; const ensureClientId = (passedConfig)=>{ if (!passedConfig.clientId) return { result: false, messages: [ "The clientId is required and missing from your config!" ], level: "error" }; return POSITIVE_VALIDATION_RESULT; }; export { ensureClientId };