OAuthValidator function ( ServletContext arg0 , OAuthProvider arg1 ) { OAuthValidator loc0 = ( OAuthValidator ) arg0 . getAttribute ( ATTR_OAUTH_VALIDATOR ) ; if ( loc0 != null ) return loc0 ; loc0 = new OAuthValidator ( arg1 ) ; arg0 . setAttribute ( ATTR_OAUTH_VALIDATOR , loc0 ) ; return loc0 ; }
creates an oauthvalidator , and caches it in the servlet context attributes for reuse . concode_field_sep String AUTHENTICATE_HEADER concode_elem_sep String ATTR_OAUTH_VALIDATOR concode_elem_sep String ATTR_OAUTH_PROVIDER concode_elem_sep String AUTHORIZATION_HEADER concode_elem_sep String OAUTH_VERIFIER_PARAM concode_elem_sep String OAUTH_CALLBACK_CONFIRMED_PARAM concode_field_sep void validateRequestWithoutAccessToken concode_elem_sep OAuthProvider getOAuthProvider concode_elem_sep void sendValues concode_elem_sep String encodeForOAuth concode_elem_sep int getHttpCode concode_elem_sep OAuthMessage readMessage concode_elem_sep long parseTimestamp concode_elem_sep void validateRequestWithAccessToken concode_elem_sep boolean validateUriScopes concode_elem_sep void makeErrorResponse