Service - JwtToken
Java Class
com.omnissa.vdi.vlsi.binding.vdi.infrastructure.JwtToken
See also
Since
Horizon 7.4
Service Description¶
Service interface for JWT Token.
Methods
Methods defined in this Service: JwtToken_Generate, JwtToken_GetPublicKeys
Generates JWT token.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the JwtToken used to make the method call. |
spec | JwtTokenGenerationSpec | 1 |
Return Value
Type | Description |
---|---|
JwtTokenInfo | The generated JWT token. |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Events
Event | Description |
---|---|
VLSI_JWT_TOKEN_GENERATED | if JWT token creation succeeds. |
VLSI_JWT_TOKEN_GENERATION_FAILED | if JWT token generation fails. |
Show WSDL type definition
Retrieves public keys for validating JWT token. This API can be used by unauthenticated sessions to retrieves public keys for validating JWT tokens.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the JwtToken used to make the method call. |
Return Value
Type | Description |
---|---|
JwtPublicKeyInfo[] | The JwtPublicKeyInfo list. |
Faults
Type | Description |
---|---|
EntityNotFound | Thrown if any specified entity cannot be found. |
InsufficientPermission | Thrown if the user does not have sufficient permission to perform the operation. |
InvalidArgument | Thrown if any specified argument is invalid. |
InvalidType | Thrown if the type of any specified argument is invalid. |
UnexpectedFault | Thrown if an unexpected error occurs while performing the operation. |
Show WSDL type definition
-
This parameter need not be set. ↩