All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.camunda.common.auth.JwtAuthenticationBuilder Maven / Gradle / Ivy

There is a newer version: 8.5.10
Show newest version
package io.camunda.common.auth;

import io.camunda.common.auth.Authentication.AuthenticationBuilder;

public abstract class JwtAuthenticationBuilder>
    implements AuthenticationBuilder {
  private JwtConfig jwtConfig;

  public final T withJwtConfig(JwtConfig jwtConfig) {
    this.jwtConfig = jwtConfig;
    return self();
  }

  @Override
  public final Authentication build() {
    return build(jwtConfig);
  }

  protected abstract T self();

  protected abstract Authentication build(JwtConfig jwtConfig);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy