PHP » GoLang |
login |
register |
about
|
GoLang OAuthProvider::generateTokenGoLang replacement for PHP's OAuthProvider::generateToken [Golang Play | edit | history]
PHP OAuthProvider::generateTokenPHP original manual for OAuthProvider::generateToken [ show | php.net ]OAuthProvider::generateToken(PECL OAuth >= 1.0.0) OAuthProvider::generateToken — Generate a random token Description
final public static string OAuthProvider::generateToken
( int
$size
[, bool $strong = FALSE
] )Generates a string of pseudo-random bytes. Parameters
Return ValuesThe generated token, as a string of bytes. Errors/Exceptions
If the ExamplesExample #1 OAuthProvider::generateToken() example
<?php The above example will output something similar to: 4 b6a82c27 Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|