OIDCConfig constructor
OIDCConfig({
- Iterable<
String> ? redirectUris, - Iterable<
OIDCResponseType> ? responseTypes, - Iterable<
OIDCGrantType> ? grantTypes, - OIDCAppType? appType,
- String? clientId,
- OIDCAuthMethodType? authMethodType,
- Iterable<
String> ? postLogoutRedirectUris, - OIDCVersion? version,
- bool? noneCompliant,
- Iterable<
LocalizedMessage> ? complianceProblems, - bool? devMode,
- OIDCTokenType? accessTokenType,
- bool? accessTokenRoleAssertion,
- bool? idTokenRoleAssertion,
- bool? idTokenUserinfoAssertion,
- Duration? clockSkew,
- Iterable<
String> ? additionalOrigins, - Iterable<
String> ? allowedOrigins, - 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;
}