OIDCConfig constructor

OIDCConfig({
  1. Iterable<String>? redirectUris,
  2. Iterable<OIDCResponseType>? responseTypes,
  3. Iterable<OIDCGrantType>? grantTypes,
  4. OIDCAppType? appType,
  5. String? clientId,
  6. OIDCAuthMethodType? authMethodType,
  7. Iterable<String>? postLogoutRedirectUris,
  8. OIDCVersion? version,
  9. bool? noneCompliant,
  10. Iterable<LocalizedMessage>? complianceProblems,
  11. bool? devMode,
  12. OIDCTokenType? accessTokenType,
  13. bool? accessTokenRoleAssertion,
  14. bool? idTokenRoleAssertion,
  15. bool? idTokenUserinfoAssertion,
  16. Duration? clockSkew,
  17. Iterable<String>? additionalOrigins,
  18. Iterable<String>? allowedOrigins,
  19. bool? skipNativeAppSuccessPage,
})

Implementation

factory OIDCConfig({
  $core.Iterable<$core.String>? redirectUris,
  $core.Iterable<OIDCResponseType>? responseTypes,
  $core.Iterable<OIDCGrantType>? grantTypes,
  OIDCAppType? appType,
  $core.String? clientId,
  OIDCAuthMethodType? authMethodType,
  $core.Iterable<$core.String>? postLogoutRedirectUris,
  OIDCVersion? version,
  $core.bool? noneCompliant,
  $core.Iterable<$9.LocalizedMessage>? complianceProblems,
  $core.bool? devMode,
  OIDCTokenType? accessTokenType,
  $core.bool? accessTokenRoleAssertion,
  $core.bool? idTokenRoleAssertion,
  $core.bool? idTokenUserinfoAssertion,
  $7.Duration? clockSkew,
  $core.Iterable<$core.String>? additionalOrigins,
  $core.Iterable<$core.String>? allowedOrigins,
  $core.bool? skipNativeAppSuccessPage,
}) {
  final $result = create();
  if (redirectUris != null) {
    $result.redirectUris.addAll(redirectUris);
  }
  if (responseTypes != null) {
    $result.responseTypes.addAll(responseTypes);
  }
  if (grantTypes != null) {
    $result.grantTypes.addAll(grantTypes);
  }
  if (appType != null) {
    $result.appType = appType;
  }
  if (clientId != null) {
    $result.clientId = clientId;
  }
  if (authMethodType != null) {
    $result.authMethodType = authMethodType;
  }
  if (postLogoutRedirectUris != null) {
    $result.postLogoutRedirectUris.addAll(postLogoutRedirectUris);
  }
  if (version != null) {
    $result.version = version;
  }
  if (noneCompliant != null) {
    $result.noneCompliant = noneCompliant;
  }
  if (complianceProblems != null) {
    $result.complianceProblems.addAll(complianceProblems);
  }
  if (devMode != null) {
    $result.devMode = devMode;
  }
  if (accessTokenType != null) {
    $result.accessTokenType = accessTokenType;
  }
  if (accessTokenRoleAssertion != null) {
    $result.accessTokenRoleAssertion = accessTokenRoleAssertion;
  }
  if (idTokenRoleAssertion != null) {
    $result.idTokenRoleAssertion = idTokenRoleAssertion;
  }
  if (idTokenUserinfoAssertion != null) {
    $result.idTokenUserinfoAssertion = idTokenUserinfoAssertion;
  }
  if (clockSkew != null) {
    $result.clockSkew = clockSkew;
  }
  if (additionalOrigins != null) {
    $result.additionalOrigins.addAll(additionalOrigins);
  }
  if (allowedOrigins != null) {
    $result.allowedOrigins.addAll(allowedOrigins);
  }
  if (skipNativeAppSuccessPage != null) {
    $result.skipNativeAppSuccessPage = skipNativeAppSuccessPage;
  }
  return $result;
}