Package se.idkollen.client.endpoints
Class FtnEndpoint
java.lang.Object
se.idkollen.client.endpoints.FtnEndpoint
Endpoint for Finnish Trust Network (FTN) operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionStart an FTN age verification session.Poll the current status of an FTN age verification session.authAsync(FtnAuthRequest req) Start an FTN authentication session.Poll the current status of an FTN authentication session.Cancel an FTN age verification session.Cancel an FTN authentication session.waitForAgeVerificationAsync(String id, PollOptions opts) Poll until the age verification session reaches a terminal state or the timeout elapses.waitForAuthAsync(String id, PollOptions opts) Poll until the authentication session reaches a terminal state or the timeout elapses.
-
Constructor Details
-
FtnEndpoint
-
-
Method Details
-
authAsync
Start an FTN authentication session. -
ageVerificationAsync
Start an FTN age verification session. -
authStatusAsync
Poll the current status of an FTN authentication session. -
ageVerificationStatusAsync
Poll the current status of an FTN age verification session. -
cancelAuthAsync
Cancel an FTN authentication session. -
cancelAgeVerificationAsync
Cancel an FTN age verification session. -
waitForAuthAsync
Poll until the authentication session reaches a terminal state or the timeout elapses. -
waitForAuthAsync
-
waitForAgeVerificationAsync
public CompletableFuture<AgeVerificationStatus> waitForAgeVerificationAsync(String id, PollOptions opts) Poll until the age verification session reaches a terminal state or the timeout elapses. -
waitForAgeVerificationAsync
-