From 4985770d07bbe256df7048584aaa9763f13164f2 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sat, 7 Sep 2013 17:59:34 +0100 Subject: [PATCH] Gave "bearer" a capital "B" --- src/League/OAuth2/Server/Grant/ClientCredentials.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/League/OAuth2/Server/Grant/ClientCredentials.php b/src/League/OAuth2/Server/Grant/ClientCredentials.php index 363dfb53..3d962ee9 100644 --- a/src/League/OAuth2/Server/Grant/ClientCredentials.php +++ b/src/League/OAuth2/Server/Grant/ClientCredentials.php @@ -163,7 +163,7 @@ class ClientCredentials implements GrantTypeInterface { $response = array( 'access_token' => $accessToken, - 'token_type' => 'bearer', + 'token_type' => 'Bearer', 'expires' => $accessTokenExpires, 'expires_in' => $accessTokenExpiresIn );