This function takes the following parameters:
Pointer to a am_sso_token_handle_t type.
Pointer to the name of the desired property.
Takes a value based on the boolean_t (defined in the <am_types.h> header file) that specifies if the function should check first if the session is valid. If the session is invalid, NULL will always be returned.