Class GitLabAuth

java.lang.Object
io.vertx.reactivex.ext.auth.oauth2.providers.GitLabAuth
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class GitLabAuth extends Object implements io.vertx.lang.rx.RxDelegate
Simplified factory to create an for GitLab.com. https://gitlab.com/help/api/oauth2.md

NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<GitLabAuth> __TYPE_ARG
  • Constructor Details

    • GitLabAuth

      public GitLabAuth(GitLabAuth delegate)
    • GitLabAuth

      public GitLabAuth(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public GitLabAuth getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • 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:
    • newInstance

      public static GitLabAuth newInstance(GitLabAuth arg)