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

com.rt.storage.auth.oauth2.JwtProvider Maven / Gradle / Ivy

package com.rt.storage.auth.oauth2;

import com.google.common.annotations.Beta;

/** Interface for creating custom JWT tokens */
@Beta
public interface JwtProvider {

  /**
   * Returns a new JwtCredentials instance with modified claims.
   *
   * @param newClaims new claims. Any unspecified claim fields will default to the the current
   *     values.
   * @return new credentials
   */
  JwtCredentials jwtWithClaims(JwtClaims newClaims);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy