diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2012-02-25 11:14:16 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2012-02-25 11:14:16 -0800 |
commit | 977904a485d85d2f409d75fcd53361bf565b0c98 (patch) | |
tree | 8be93fd58310170625638af517f5f5db7be78e7d /src/DotNetOpenAuth.OAuth2.Client | |
parent | 22bc9e0994b82b76d454260fb125c3a0ba8ac8cd (diff) | |
download | DotNetOpenAuth-977904a485d85d2f409d75fcd53361bf565b0c98.zip DotNetOpenAuth-977904a485d85d2f409d75fcd53361bf565b0c98.tar.gz DotNetOpenAuth-977904a485d85d2f409d75fcd53361bf565b0c98.tar.bz2 |
Renamed ObtainClientAccessToken.
Diffstat (limited to 'src/DotNetOpenAuth.OAuth2.Client')
-rw-r--r-- | src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs index ed9f1d4..7697244 100644 --- a/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs +++ b/src/DotNetOpenAuth.OAuth2.Client/OAuth2/ClientBase.cs @@ -180,7 +180,7 @@ namespace DotNetOpenAuth.OAuth2 { /// </summary> /// <param name="scopes">The desired scopes.</param> /// <returns>The result of the authorization request.</returns> - public IAuthorizationState ObtainClientAccessToken(IEnumerable<string> scopes = null) { + public IAuthorizationState GetClientAccessToken(IEnumerable<string> scopes = null) { var request = new AccessTokenClientCredentialsRequest(this.AuthorizationServer.TokenEndpoint, this.AuthorizationServer.Version); return this.RequestAccessToken(request, scopes); } |