Class GitLabAuth

java.lang.Object
io.vertx.mutiny.ext.auth.oauth2.providers.GitLabAuth
All Implemented Interfaces:
MutinyDelegate

public class GitLabAuth extends Object implements MutinyDelegate
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 Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • GitLabAuth

      public GitLabAuth(io.vertx.ext.auth.oauth2.providers.GitLabAuth delegate)
    • GitLabAuth

      public GitLabAuth(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.auth.oauth2.providers.GitLabAuth getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • 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
    • create

      public static OAuth2Auth create(Vertx vertx, String clientId, String clientSecret)
      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)
      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, io.vertx.core.http.HttpClientOptions httpClientOptions)
      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(io.vertx.ext.auth.oauth2.providers.GitLabAuth arg)