/** * Verifies the OAuth signature for a given request, parameters and * secrets. * * @param request the request to verify the signature from. * @param params the OAuth authorization parameters * @param secrets the secrets used to verify the OAuth signature. * @return true if the signature is verified. * @throws OAuth1SignatureException if an error occurred generating the signature. */ public boolean verify(final OAuth1Request request, final OAuth1Parameters params, final OAuth1Secrets secrets) throws OAuth1SignatureException { return getSignatureMethod(params).verify(baseString(request, params), secrets, params.getSignature()); }
requiredOAuthParam(params.getSignature()); supportedOAuthParam(params.getVersion(), versions);
/** * Verifies the OAuth signature for a given request, parameters and * secrets. * * @param request the request to verify the signature from. * @param params the OAuth authorization parameters * @param secrets the secrets used to verify the OAuth signature. * @return true if the signature is verified. * @throws OAuth1SignatureException if an error occurred generating the signature. */ public boolean verify(final OAuth1Request request, final OAuth1Parameters params, final OAuth1Secrets secrets) throws OAuth1SignatureException { return getSignatureMethod(params).verify(baseString(request, params), secrets, params.getSignature()); }
/** * Verifies the OAuth signature for a given request, parameters and * secrets. * * @param request the request to verify the signature from. * @param params the OAuth authorization parameters * @param secrets the secrets used to verify the OAuth signature. * @return true if the signature is verified. * @throws OAuth1SignatureException if an error occurred generating the signature. */ public boolean verify(final OAuth1Request request, final OAuth1Parameters params, final OAuth1Secrets secrets) throws OAuth1SignatureException { return getSignatureMethod(params).verify(baseString(request, params), secrets, params.getSignature()); }
requiredOAuthParam(params.getSignature()); supportedOAuthParam(params.getVersion(), versions);
requiredOAuthParam(params.getSignature()); supportedOAuthParam(params.getVersion(), versions);