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

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

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

import io.camunda.common.json.JsonMapper;

public class SaaSAuthenticationBuilder extends JwtAuthenticationBuilder {
  private JsonMapper jsonMapper;

  public SaaSAuthenticationBuilder withJsonMapper(JsonMapper jsonMapper) {
    this.jsonMapper = jsonMapper;
    return this;
  }

  @Override
  protected SaaSAuthenticationBuilder self() {
    return this;
  }

  @Override
  protected SaaSAuthentication build(JwtConfig jwtConfig) {
    return new SaaSAuthentication(jwtConfig, jsonMapper);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy