io.vertx.ext.auth.jwt.JWTOptions Maven / Gradle / Ivy
/*
* Copyright 2015 Red Hat, Inc.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* The Apache License v2.0 is available at
* http://www.opensource.org/licenses/apache2.0.php
*
* You may elect to redistribute this code under either of these licenses.
*/
package io.vertx.ext.auth.jwt;
import io.vertx.codegen.annotations.DataObject;
import io.vertx.core.json.JsonObject;
/**
* Options related to creation of new tokens.
*
* If any expiresInMinutes, audience, subject, issuer are not provided, there is no default.
* The jwt generated won't include those properties in the payload.
*
* Generated JWTs will include an iat claim by default unless noTimestamp is specified.
*
* @author Paulo Lopes
*/
@Deprecated
@DataObject
public class JWTOptions extends io.vertx.ext.jwt.JWTOptions {
public JWTOptions() {
super();
}
public JWTOptions(JsonObject json) {
super(json);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy