get_credentials() function

Get the authenticated user Credentials if there is one.

Parameters:

Name Type Description Default
state State

The current user state as received in any callback.

required