(PECL OAuth >= 1.0.0)
Generate a random token
final public static string OAuthProvider::generateToken ( int $size [, bool $strong = false ] )
Generates a string of pseudo-random bytes.
Parameters:
size
The desired token length, in terms of bytes.
strong
Setting to TRUE means /dev/random will be used for entropy, as otherwise the non