Class AuthenticationSessionRequest


  • public class AuthenticationSessionRequest
    extends Object
    AuthenticationSessionRequest
    • Constructor Detail

      • AuthenticationSessionRequest

        public AuthenticationSessionRequest()
    • Method Detail

      • allowOrigin

        public AuthenticationSessionRequest allowOrigin​(String allowOrigin)
        The URL where the component will appear. In your live environment, you must protect the URL with an SSL certificate and ensure that it starts with `https://`.
        Parameters:
        allowOrigin -
        Returns:
        the current AuthenticationSessionRequest instance, allowing for method chaining
      • getAllowOrigin

        public String getAllowOrigin()
        The URL where the component will appear. In your live environment, you must protect the URL with an SSL certificate and ensure that it starts with `https://`.
        Returns:
        allowOrigin
      • setAllowOrigin

        public void setAllowOrigin​(String allowOrigin)
        The URL where the component will appear. In your live environment, you must protect the URL with an SSL certificate and ensure that it starts with `https://`.
        Parameters:
        allowOrigin -
      • policy

        public AuthenticationSessionRequest policy​(Policy policy)
        policy
        Parameters:
        policy -
        Returns:
        the current AuthenticationSessionRequest instance, allowing for method chaining
      • getPolicy

        public Policy getPolicy()
        Get policy
        Returns:
        policy
      • setPolicy

        public void setPolicy​(Policy policy)
        policy
        Parameters:
        policy -
      • product

        public AuthenticationSessionRequest product​(ProductType product)
        product
        Parameters:
        product -
        Returns:
        the current AuthenticationSessionRequest instance, allowing for method chaining
      • getProduct

        public ProductType getProduct()
        Get product
        Returns:
        product
      • setProduct

        public void setProduct​(ProductType product)
        product
        Parameters:
        product -
      • equals

        public boolean equals​(Object o)
        Return true if this AuthenticationSessionRequest object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static AuthenticationSessionRequest fromJson​(String jsonString)
                                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of AuthenticationSessionRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of AuthenticationSessionRequest
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to AuthenticationSessionRequest
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of AuthenticationSessionRequest to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException