From 6a5cc92df760b7f53c13e8ae98ed0f3713f7d8a4 Mon Sep 17 00:00:00 2001 From: Konrad Malawski Date: Fri, 20 Nov 2015 11:13:34 +0100 Subject: [PATCH] =doc #18972 fix typo in docs on oauth2 --- .../java/http/routing-dsl/request-vals/oauth2-authenticator.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)``.