From 400d4d8f1eef442699cf9c113484f2c2242ac68c Mon Sep 17 00:00:00 2001 From: Andrew Cairns Date: Tue, 20 May 2014 17:13:29 +0100 Subject: [PATCH] Fixing Bearer case for consistency --- src/League/OAuth2/Server/Grant/RefreshToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/League/OAuth2/Server/Grant/RefreshToken.php b/src/League/OAuth2/Server/Grant/RefreshToken.php index baea674a..baf890f3 100644 --- a/src/League/OAuth2/Server/Grant/RefreshToken.php +++ b/src/League/OAuth2/Server/Grant/RefreshToken.php @@ -192,7 +192,7 @@ class RefreshToken implements GrantTypeInterface { $response = array( 'access_token' => $accessToken, - 'token_type' => 'bearer', + 'token_type' => 'Bearer', 'expires' => $accessTokenExpires, 'expires_in' => $accessTokenExpiresIn );