java.lang.Object
com.polarion.platform.security.login.Jwt
All Implemented Interfaces:
ILoginAuthenticator

public final class Jwt extends Object implements ILoginAuthenticator
Authenticator type to use with jwt
Since:
3.25.6
  • Constructor Details

    • Jwt

      public Jwt()
  • Method Details

    • id

      @NotNull public static Jwt id()
      Create a typed authenticator ID.
      Returns:
      Typed authenticator ID.
    • getId

      @NotNull public String getId()
      Description copied from interface: ILoginAuthenticator
      Get an authenticator ID.
      Specified by:
      getId in interface ILoginAuthenticator
      Returns:
      authenticator ID.
    • token

      @NotNull public static IToken<Jwt> token(@NotNull String token)
      Prepare and create a typed jwt instance.
      Parameters:
      token - raw jwt as it is received.
      Returns:
      Typed and prepared token instance.