Skip to main content

14 docs tagged with "examples"

View All Tags

Custom endpoints - examples

The example below is a collection of custom endpoints supporting SAML authentication. The LoginPostEndPoint, LoginUrlRequestEndPoint, LogoutEndPoint, and MetadataEndPoint all extend this AbstractSamlEndPoint.

Event Handler - examples

On this page, you can find useful examples of code for an Event Handler. We start with a very basic example, and then we provide further examples to cover key functions, such as exception handling and permissioning.

Practical examples and use cases

This section demonstrates practical examples of using the Genesis HTTP Client in various Genesis components and common use cases.

Request Server - examples

You define your application's Request Server in a kotlin script file called application-name-reqrep.kts.

State Machine - examples

The following example of a State Machine defines five events that control the transition of trades from one state to another.