IDPInformation constructor

IDPInformation({
  1. IDPOAuthAccessInformation? oauth,
  2. String? idpId,
  3. String? userId,
  4. String? userName,
  5. Struct? rawInformation,
  6. IDPLDAPAccessInformation? ldap,
  7. IDPSAMLAccessInformation? saml,
})

Implementation

factory IDPInformation({
  IDPOAuthAccessInformation? oauth,
  $core.String? idpId,
  $core.String? userId,
  $core.String? userName,
  $1.Struct? rawInformation,
  IDPLDAPAccessInformation? ldap,
  IDPSAMLAccessInformation? saml,
}) {
  final $result = create();
  if (oauth != null) {
    $result.oauth = oauth;
  }
  if (idpId != null) {
    $result.idpId = idpId;
  }
  if (userId != null) {
    $result.userId = userId;
  }
  if (userName != null) {
    $result.userName = userName;
  }
  if (rawInformation != null) {
    $result.rawInformation = rawInformation;
  }
  if (ldap != null) {
    $result.ldap = ldap;
  }
  if (saml != null) {
    $result.saml = saml;
  }
  return $result;
}