Class NotificationConfig
java.lang.Object
com.yoti.api.client.docs.session.create.NotificationConfig
Configures call-back Notifications to some backend endpoint provided by the Relying Business.
Notifications can be configured to notify a clients backend of certain events, avoiding the need to poll for the state of the Session.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder to assist in the creation ofNotificationConfig. -
Method Summary
Modifier and TypeMethodDescriptionstatic NotificationConfig.Builderbuilder()The authorization token to be included in call-back messagesThe authorization type to use for the tokenThe endpoint that notifications should be sent toThe list of topics that should trigger notifications
-
Method Details
-
builder
-
getAuthToken
The authorization token to be included in call-back messages- Returns:
- the authorization token
-
getAuthType
The authorization type to use for the token- Returns:
- the authorization type
-
getEndpoint
The endpoint that notifications should be sent to- Returns:
- the endpoint
-
getTopics
The list of topics that should trigger notifications- Returns:
- the list of topics
-