// FindUserToken attempts to fetch a user token for the given URI.
FindUserToken attempts to fetch a user token for the given URI.
// FindUserToken attempts to fetch a user token for the given URI .
func FindUserToken(ctx context.Context, uri *url.URL, cloudflared bool, w io.Writer) (*UserToken, error) {
	if w == nil {
		w = ioutil.Discard
	}
	if cloudflared {
		return findTokenCloudflared(ctx, uri, w)
	}
	return findToken(ctx, uri, w)
}
func FindUserToken ( ctx context . Context , uri * url . URL , cloudflared bool , w io . Writer ) ( * UserToken , error ) { if w == nil { w = ioutil . Discard } if cloudflared { return findTokenCloudflared ( ctx , uri , w ) } return findToken ( ctx , uri , w ) }
FindUserToken attempts to fetch a user token for the given URI.
FindUserToken attempts to fetch a user token for the given URI .