public ApiResponse<Void> getLoginWithHttpInfo(String redirectUri, Boolean includeState) throws ApiException {
        com.squareup.okhttp.Call call = getLoginValidateBeforeCall(redirectUri, includeState, null, null);
        return apiClient.execute(call);
    }
public ApiResponse < Void > getLoginWithHttpInfo ( String redirectUri , Boolean includeState ) throws ApiException { com . squareup . okhttp . Call call = getLoginValidateBeforeCall ( redirectUri , includeState , null , null ) ; return apiClient . execute ( call ) ; }
Login (HTTP session only)
Starts the OAuth 2 flow for the Authorization Code grant type and returns a redirect to the Authentication service. For more information, see the [Authentication API](/reference/authentication/).
@param redirectUri The URI the Authentication API uses to redirect the user after authentication. (required)
@param includeState Flag denoting whether a state parameter should be generated and included in the redirect. (optional)
@return ApiResponse&lt;Void&gt;
@throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body