Class SSO.SAML.UpdateParameters

  • All Implemented Interfaces:

    
    public final class SSO.SAML.UpdateParameters
    
                        

    Data class used for wrapping the parameters for a SAML update request

    • Constructor Detail

      • SSO.SAML.UpdateParameters

        SSO.SAML.UpdateParameters(String connectionId, String idpEntityId, String displayName, Map<String, String> attributeMapping, String idpSsoUrl, String x509Certificate, List<ConnectionRoleAssignment> samlConnectionImplicitRoleAssignment, List<GroupRoleAssignment> samlGroupImplicitRoleAssignment)
      • SSO.SAML.UpdateParameters

        SSO.SAML.UpdateParameters(String connectionId, String idpEntityId, String displayName, Map<String, String> attributeMapping, String idpSsoUrl, String x509Certificate, List<ConnectionRoleAssignment> samlConnectionImplicitRoleAssignment)
      • SSO.SAML.UpdateParameters

        SSO.SAML.UpdateParameters(String connectionId, String idpEntityId, String displayName)
      • SSO.SAML.UpdateParameters

        SSO.SAML.UpdateParameters(String connectionId, String idpEntityId)
      • SSO.SAML.UpdateParameters

        SSO.SAML.UpdateParameters(String connectionId)
    • Method Detail

      • getConnectionId

         final String getConnectionId()

        Globally unique UUID that identifies a specific SAML Connection.

      • getIdpEntityId

         final String getIdpEntityId()

        A globally unique name for the IdP. This will be provided by the IdP.

      • getAttributeMapping

         final Map<String, String> getAttributeMapping()

        An object that represents the attributes used to identify a Member. This object will map the IdP-defined User attributes to Stytch-specific values. Required attributes: email and one of full_name or first_name and last_name

      • getIdpSsoUrl

         final String getIdpSsoUrl()

        The URL for which assertions for login requests will be sent. This will be provided by the IdP.

      • getX509Certificate

         final String getX509Certificate()

        A certificate that Stytch will use to verify the sign-in assertion sent by the IdP, in {@link https://en.wikipedia.org/wiki/Privacy-Enhanced_Mail PEM} format.

      • getSamlConnectionImplicitRoleAssignment

         final List<ConnectionRoleAssignment> getSamlConnectionImplicitRoleAssignment()

        An array of implicit role assignments granted to members in this organization who log in with this SAML connection.

      • getSamlGroupImplicitRoleAssignment

         final List<GroupRoleAssignment> getSamlGroupImplicitRoleAssignment()

        An array of implicit role assignments granted to members in this organization who log in with this SAML connection and belong to the specified group. Before adding any group implicit role assignments, you must add a "groups" key to your SAML connection's attribute_mapping. Make sure that your IdP is configured to correctly send the group information.