Pike v8.1 release 6

Method Web.Auth.OAuth2.Base()->cast()


Method cast

(int)Web.Auth.OAuth2.Base()
(float)Web.Auth.OAuth2.Base()
(string)Web.Auth.OAuth2.Base()
(array)Web.Auth.OAuth2.Base()
(mapping)Web.Auth.OAuth2.Base()
(multiset)Web.Auth.OAuth2.Base()

Description

If casted to string the access_token will be returned. If casted to int the expires timestamp will be returned.