rename redeemProfileCode to redeemCode, with deprecated alias
[squeep-indieauth-helper] / README.md
index fe3e36296cee72e413ba9d4b382c4a24c0f1a0ba..47c8cc6fc5ba8637f9e8cd610478f70233348c71 100644 (file)
--- a/README.md
+++ b/README.md
@@ -27,8 +27,8 @@ Notable methods on the Communication class:
 - `async fetchJSON(urlObject)`  
   Retrieve json from an endpoint.
 
-- `async redeemProfileCode(urlObj, code, codeVerifier, clientId, redirectURI)`
-  Submit a code to get a profile response.
+- `async redeemCode(urlObj, code, codeVerifier, clientId, redirectURI)`
+  Submit a code to get a profile or ticket response.
 
 - `async introspectToken(introspectionUrlObj, authenticationHeader, token)`
   Submit a token for introspection.