Interface IOSClientBuilder.V3

    • Method Detail

      • credentials

        IOSClientBuilder.V3 credentials​(String userName,
                                        String password,
                                        Identifier domain)
        The authentication credentials and default scoped domain
        Parameters:
        userName - the user name to authenticate with
        password - the password to authenticate with
        domain - the domain if using "default scoped"
        Returns:
        self for method chaining
      • token

        IOSClientBuilder.V3 token​(String tokenId)
        A token object. With token authentication, the id uniquely identifies the token. This method is typically used in combination with a request to change authorization scope
        Parameters:
        tokenId - the token identifier
        Returns:
        self for method chaining
      • scopeToProject

        IOSClientBuilder.V3 scopeToProject​(Identifier project,
                                           Identifier domain)
        Scopes the token to a project level
        Parameters:
        project - the project ID or Name value
        domain - the domain ID or Name value
        Returns:
        self for method chaining
      • scopeToProject

        IOSClientBuilder.V3 scopeToProject​(Identifier project)
        scopes the token to a project level
        Parameters:
        project - the project id
        Returns:
        self for method chaining
      • scopeToDomain

        IOSClientBuilder.V3 scopeToDomain​(Identifier domain)
        Scopes the token to a domain level
        Parameters:
        domain - the domain ID or Name value
        Returns:
        self for method chaining