JadeRestService Class Constants
The constants provided by the JadeRestService class are listed in the following table.
JadeRestService Class Constant | Value | Exceptions are in... |
---|---|---|
EncryptionAlg_HS256 | String = "HS256" | HS256 encryption algorithm used for signing JSON Web Tokens |
EncryptionAlg_HS384 | String = "HS384" | HS384 encryption algorithm used for signing JSON Web Tokens |
EncryptionAlg_HS512 | String = "HS512" | HS512 encryption algorithm used for signing JSON Web Tokens |
EncryptionAlg_RS256 | String = "RS256" | RS256 encryption algorithm used for signing JSON Web Tokens |
OutputFormat_Json | Integer = 0 | JSON (Microsoft JSON) format |
OutputFormat_Xml | Integer = 1 | XML format (the default) |
OutputFormat_Json_NewtonSoft | Integer = 2 | JSONN (NewtonSoft JSON) format |
ServerVariable_AllHttp | String = "ALL_HTTP" | Used as a parameter to the fetchJWT method to return all HTTP headers sent by the client |
ServerVariable_AllRaw | String = "ALL_RAW" | Used as a parameter to the fetchJWT method to return all headers sent by the client |
ServerVariable_CacheURL | String = "CACHE_URL" | Incoming URL of the request |
ServerVariable_ContentType | String = "CONTENT_TYPE" | HTTP header content type information of the request |
ServerVariable_Host | String = "HOST" | HTTP header host information of the request |
ServerVariable_HttpAccept | String = "HTTP_ACCEPT" | HTTP header HTTP accept information of the request |
ServerVariable_Https | String = "HTTPS" | HTTP header HTTPS information of the request |
ServerVariable_QueryString | String = "QUERY_STRING" | HTTP header query string information of the request |
ServerVariable_RemoteAddr | String = "REMOTE_ADDR" | HTTP header remote address information of the request |
ServerVariable_RemotePort | String = "REMOTE_PORT" | HTTP header remote port information of the request |
ServerVariable_ServerName | String = "SERVER_NAME" | HTTP header server name information of the request |
ServerVariable_ServerPort | String = "SERVER_PORT" | HTTP header server port information of the request |
ServerVariable_URL | String = "URL" | HTTP header URL information of the request |
ServerVariable_UserAgent | String = "USER_AGENT" | HTTP header user agent information of the request |
ShadowMethodPrefix | String = "s__" | Prefix prepended by Jade to the beginning of a REST API method to create a shadow method, responsible for the association of required claims with that method |
Any other output format value (for example, -1) means that exceptions are returned in the format controlled by the received URL.