Class StepUp


  • public class StepUp
    extends NativeObject

    The options for step-up authorization using Mobile ID

    • Constructor Detail

      • StepUp

        public StepUp​(java.lang.String msisdn,
                      java.lang.String message,
                      java.lang.String language)
        Parameters:
        msisdn - The mobile phone number
        message - The message to be displayed on the mobile phone
        language - The language of the message
        Throws:
        java.lang.IllegalArgumentException - if msisdn is null
        java.lang.IllegalArgumentException - if message is null
        java.lang.IllegalArgumentException - if language is null
    • Method Detail

      • getMSISDN

        public java.lang.String getMSISDN()

        The mobile phone number (Getter)

        Example: "+41798765432"
      • setMSISDN

        public void setMSISDN​(java.lang.String value)

        The mobile phone number (Setter)

        Example: "+41798765432"
        Throws:
        java.lang.IllegalArgumentException - if value is null
      • getMessage

        public java.lang.String getMessage()

        The message to be displayed on the mobile phone (Getter)

        Example: "Do you authorize your signature on Contract.pdf?"
      • setMessage

        public void setMessage​(java.lang.String value)

        The message to be displayed on the mobile phone (Setter)

        Example: "Do you authorize your signature on Contract.pdf?"
        Throws:
        java.lang.IllegalArgumentException - if value is null
      • getLanguage

        public java.lang.String getLanguage()

        The language of the message (Getter)

        Example: "DE"
      • setLanguage

        public void setLanguage​(java.lang.String value)

        The language of the message (Setter)

        Example: "DE"
        Throws:
        java.lang.IllegalArgumentException - if value is null