func (c *Client) Token() (token string, err error) {
	c.lock.Lock()
	defer c.lock.Unlock()
	token = c.storage.Token()
	if token == "" {
		err = c.storage.Refresh(c)
		if err != nil {
			return
		}
		token = c.storage.Token()
	}
	return
}
// Token returns access token.
Token returns access token.
// Token returns access token .
func (c *Client) Token() (token string, err error) {
	c.lock.Lock()
	defer c.lock.Unlock()
	token = c.storage.Token()
	if token == "" {
		err = c.storage.Refresh(c)
		if err != nil {
			return
		}
		token = c.storage.Token()
	}
	return
}
func ( c * Client ) Token ( ) ( token string , err error ) { c . lock . Lock ( ) defer c . lock . Unlock ( ) token = c . storage . Token ( ) if token == " " { err = c . storage . Refresh ( c ) if err != nil { return } token = c . storage . Token ( ) } return }
Token returns access token.
Token returns access token .