You appear to be a bot. Output may be restricted
Description
Validate the API key from the point of view of the oik-clone serverThis is a very simple level of authentication.
Usage
oik_clone_oik_validate_apikey( $continue, $passed_api_key );
Parameters
- $continue
- ( bool ) required – true if the API key has been validated
- $passed_api_key
- ( string ) required – the value passed from the client
Returns
voidSource
File name: oik-clone/admin/oik-clone-json.phpLines:
1 to 9 of 9
function oik_clone_oik_validate_apikey( $continue, $passed_api_key ) { if ( !$continue ) { $apikey = bw_get_option( "apikey", "bw_clone_servers" ); if ( $apikey ) { $continue = $apikey == $passed_api_key; } } return( $continue ); }View on GitHub