mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 13:41:21 +00:00
GUACAMOLE-680: Correct grammar of authenticationService documentation.
"promise succeeds" should be "promise that succeeds".
This commit is contained in:
@@ -254,7 +254,7 @@ angular.module('auth').factory('authenticationService', ['$injector',
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Makes a request to revoke an authentication token using the token REST
|
* Makes a request to revoke an authentication token using the token REST
|
||||||
* API endpoint, returning a promise succeeds only if the token was
|
* API endpoint, returning a promise that succeeds only if the token was
|
||||||
* successfully revoked.
|
* successfully revoked.
|
||||||
*
|
*
|
||||||
* @param {string} token
|
* @param {string} token
|
||||||
@@ -295,7 +295,7 @@ angular.module('auth').factory('authenticationService', ['$injector',
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Makes a request to logout a user using the token REST API endpoint,
|
* Makes a request to logout a user using the token REST API endpoint,
|
||||||
* returning a promise succeeds only if the logout operation was
|
* returning a promise that succeeds only if the logout operation was
|
||||||
* successful.
|
* successful.
|
||||||
*
|
*
|
||||||
* @returns {Promise}
|
* @returns {Promise}
|
||||||
|
Reference in New Issue
Block a user