Class AuthenticationRequest.Builder

  • Enclosing class:
    AuthenticationRequest

    public static class AuthenticationRequest.Builder
    extends java.lang.Object
    Authentication request builder.
    • Constructor Detail

      • Builder

        protected Builder()
        Default constructor.
    • Method Detail

      • credential

        public AuthenticationRequest.Builder credential​(java.lang.String credential)
        Sets the user credential.
        Parameters:
        credential - user credential
        Returns:
        this builder
      • credential

        public AuthenticationRequest.Builder credential​(char[] credential)
        Sets the user credential.
        Parameters:
        credential - user credential
        Returns:
        this builder
      • credential

        public AuthenticationRequest.Builder credential​(byte[] credential)
        Sets the user credential.
        Parameters:
        credential - user credential
        Returns:
        this builder
      • returnAttributes

        public AuthenticationRequest.Builder returnAttributes​(java.lang.String... attributes)
        Sets the return attributes.
        Parameters:
        attributes - return attributes
        Returns:
        this builder
      • build

        public AuthenticationRequest build()
        Returns the authentication request.
        Returns:
        authentication request