Class GitLabAuth

    • Constructor Detail

      • GitLabAuth

        public GitLabAuth​(GitLabAuth delegate)
      • GitLabAuth

        public GitLabAuth​(Object delegate)
    • Method Detail

      • hashCode

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

        public static OAuth2Auth create​(Vertx vertx,
                                        String clientId,
                                        String clientSecret)
        Create a OAuth2Auth provider for GitLab.com.
        Parameters:
        vertx -
        clientId - the client id given to you by GitLab
        clientSecret - the client secret given to you by GitLab
        Returns:
      • create

        public static OAuth2Auth create​(Vertx vertx,
                                        String site,
                                        String clientId,
                                        String clientSecret)
        Create a OAuth2Auth provider for GitLab. This method allows to specify custom GitLab domain.
        Parameters:
        vertx -
        site - root URL for the provider without trailing slashes, eg. https://gitlab.com
        clientId - the client id given to you by GitLab
        clientSecret - the client secret given to you by GitLab
        Returns:
      • create

        public static OAuth2Auth create​(Vertx vertx,
                                        String site,
                                        String clientId,
                                        String clientSecret,
                                        HttpClientOptions httpClientOptions)
        Create a OAuth2Auth provider for GitLab.
        Parameters:
        vertx -
        site - root URL for the provider without trailing slashes, eg. https://gitlab.com
        clientId - the client id given to you by GitLab
        clientSecret - the client secret given to you by GitLab
        httpClientOptions - custom http client options
        Returns: