diff --git a/akka-docs-dev/rst/java/http/routing-dsl/request-vals/oauth2-authenticator.rst b/akka-docs-dev/rst/java/http/routing-dsl/request-vals/oauth2-authenticator.rst index 88ecb1e06f..63adca42d3 100644 --- a/akka-docs-dev/rst/java/http/routing-dsl/request-vals/oauth2-authenticator.rst +++ b/akka-docs-dev/rst/java/http/routing-dsl/request-vals/oauth2-authenticator.rst @@ -12,7 +12,7 @@ about OAuth 2 Bearer Token see `RFC6750`_. .. _RFC6750: https://tools.ietf.org/html/rfc6750 -To use it you subclass ``OAutht2Authenticator`` and implement the ``authenticate`` method +To use it you subclass ``OAuth2Authenticator`` and implement the ``authenticate`` method to provide your own logic which verifies the OAuth2 credentials. When verification is done the request can either be refused by returning the return value of ``refuseAccess()`` or completed with an object that is application specific by returning the return value of ``authenticateAs(T)``.