route("/protected", methods=["GET"]) @jwt_required() def protected(): claims = get_jwt() return jsonify(foo=claims["foo"]) if __name__ == "__main__": app.run() 或者,您可以使用additional_claims_loader() 装饰器注册一个回调函数,该函数将在创建新 JWT 时调用,并返回一个声明字典以...
valueOf(String name) Returns the enum constant of this type with the specified name. static AdditionalArtifact[] values() Returns an array containing the constants of this enum type, in the order they are declared. Methods inherited from class java.lang.Enum compareTo, equals, g...
String publicIpAddressId() Get the publicIpAddressId property: Public Standard SKU IP V4 based IP address to be associated with Virtual Network deployed service in the location. ApiManagementServiceSkuProperties sku() Get the sku property: SKU properties of the API Management service. JsonWr...
Naming a field provides you a way to reference the field value in other fields. Use the<ref></ref>tag set to reference a field value from another field. The following example concatenates into thefullnamefield thefirstnameandlastnamefield values with a string, a comma, and a space such a...
Methods inherited from class java.lang.Object getClass, notify, notifyAll, wait, wait, wait Constructor Detail DashAdditionalManifest public DashAdditionalManifest() Method Detail setManifestNameModifier public void setManifestNameModifier(String manifestNameModifier) Specify a name modifier th...
The max size of a lob on the server for this connection. OracleTypeMetaData getOracleTypeMetaData(java.lang.String sqlTypeName) Return the type metadata for a named type.Methods inherited from interface java.sql.DatabaseMetaData allProceduresAreCallable, allTablesAreSelectable, dataDefinitionCausesTra...
com.azure.ai.documenttranslator com.azure.data.schemaregistry.avro com.azure.iot.deviceupdate com.azure.security.keyvault.keys.cryptography com.azure.security.keyvault.keys com.azure.security.keyvault.keys.models com.azure.security.keyvault.keys.cryptography.models ...
The more common Java XML objects include: List Map MapEntry String Integer Boolean Object When you use the XML Object syntax to specify property values, an element is placed inside thePropertyelement. For more information on the XML Object language, seeChapter 6, XML Object Language. ...
Returns a string representation of this object. AdditionalResultAttributeValue withTextWithHighlightsValue(TextWithHighlights textWithHighlightsValue) The text associated with the attribute and information about the highlight to apply to the text. Methods inherited from class java.la...
withUserDataOverride(String userDataOverride) Use this property to provide commands or a command script to run when you launch your build instance. Methods inherited from class java.lang.Object getClass, notify, notifyAll, wait, wait, waitConstructor...