io.camunda.common.auth.JwtAuthenticationBuilder Maven / Gradle / Ivy
The 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