features.service_client.totp.feature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-integration-tests Show documentation
Show all versions of sdk-integration-tests Show documentation
Integration tests for the LaunchKey Service SDK for Java
Feature: Service Client can verify a TOTP code for a user
In order to verify User TOTP codes
As a Service Client
I can request a User TOTP code to be verified and return a result
Background:
Given I created a Directory
And I created a Directory Service
And I have created a User TOTP
Scenario: Verifying a valid User TOTP code returns true
When I verify a TOTP code with a valid code
Then the TOTP verification response is True
Scenario: Verifying an invalid User TOTP code returns false
When I verify a TOTP code with an invalid code
Then the TOTP verification response is False
Scenario: Verifying a code for a User that does not have a TOTP secret
When I attempt to verify a TOTP code with an invalid User
Then an EntityNotFound error occurs
© 2015 - 2025 Weber Informatics LLC | Privacy Policy