onelogin / onelogin-php-sdk

MIT License
12 stars 18 forks source link

Get a session status when trying to send out a otpToken. #14

Closed bjoern-tantau closed 1 year ago

bjoern-tantau commented 3 years ago

Currently nothing is returned by getSessionTokenVerified when trying to send a otp token to the user. Like with SMS or Email. But it would be good if we could get the message sent from the API to display it to the user.

This change adds a SessionStatus object that is returned when calling getSessionTokenVerified only with the required parameters.