constructor()

in frontend/app/OAuthConfiguration.ts [24:36]


  constructor(from: any, validate = true) {
    if (validate) {
      //this will throw an error (VError from ts-interface-checker) if the configuration does not validate
      OAuthConfigurationIF.check(from);
    }
    this.clientId = from.clientId;
    this.resource = from.resource;
    this.oAuthUri = from.oAuthUri;
    this.tokenUri = from.tokenUri;
    this.adminClaimName = from.adminClaimName;
    this.scope = from.scope;
    this.tokenSigningCertPath = from.tokenSigningCertPath;
  }