mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
AAE-29442 moving to node 20.18.1 (#10500)
* AAE-0000 - moving to node 20.18.1 * AAE-29442 Adjusted to the new eslint rule
This commit is contained in:
@@ -68,7 +68,6 @@ export class ContentAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* login Alfresco API
|
||||
*
|
||||
* @param username Username to login
|
||||
* @param password Password to login
|
||||
* @returns A promise that returns {new authentication ticket} if resolved and {error} if rejected.
|
||||
@@ -111,7 +110,6 @@ export class ContentAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* validate the ticket present in this.config.ticket against the server
|
||||
*
|
||||
* @returns A promise that returns if resolved and {error} if rejected.
|
||||
*/
|
||||
validateTicket(): Promise<string> {
|
||||
@@ -141,7 +139,6 @@ export class ContentAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* logout Alfresco API
|
||||
*
|
||||
* @returns A promise that returns { authentication ticket} if resolved and {error} if rejected.
|
||||
*/
|
||||
logout(): Promise<void> {
|
||||
@@ -180,7 +177,6 @@ export class ContentAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* Get the current Ticket
|
||||
*
|
||||
* @returns ticket value
|
||||
*/
|
||||
getTicket(): string {
|
||||
@@ -197,7 +193,6 @@ export class ContentAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* If the client is logged in return true
|
||||
*
|
||||
* @returns `true` if client is logged in, otherwise `false`
|
||||
*/
|
||||
isLoggedIn(): boolean {
|
||||
@@ -206,7 +201,6 @@ export class ContentAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* return the Authentication
|
||||
*
|
||||
* @returns authentication object
|
||||
*/
|
||||
getAuthentication(): Authentication {
|
||||
|
@@ -561,7 +561,6 @@ export class Oauth2Auth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* login Alfresco API
|
||||
*
|
||||
* @returns A promise that returns {new authentication token} if resolved and {error} if rejected.
|
||||
*/
|
||||
login(username: string, password: string): Promise<any> {
|
||||
@@ -622,7 +621,6 @@ export class Oauth2Auth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* Refresh the Token
|
||||
*
|
||||
* @returns promise of void
|
||||
*/
|
||||
refreshToken(): Promise<any> {
|
||||
@@ -686,7 +684,6 @@ export class Oauth2Auth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* Get the current Token
|
||||
*
|
||||
* @returns token value
|
||||
*/
|
||||
getToken(): string {
|
||||
@@ -695,7 +692,6 @@ export class Oauth2Auth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* return the Authentication
|
||||
*
|
||||
* @returns authentications
|
||||
*/
|
||||
getAuthentication(): Authentication {
|
||||
@@ -711,7 +707,6 @@ export class Oauth2Auth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* If the client is logged in return true
|
||||
*
|
||||
* @returns is logged in
|
||||
*/
|
||||
isLoggedIn(): boolean {
|
||||
|
@@ -77,7 +77,6 @@ export class ProcessAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* login Activiti API
|
||||
*
|
||||
* @param username Username to login
|
||||
* @param password Password to login
|
||||
* @returns A promise that returns {new authentication ticket} if resolved and {error} if rejected.
|
||||
@@ -130,7 +129,6 @@ export class ProcessAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* logout Alfresco API
|
||||
*
|
||||
* @returns A promise that returns {new authentication ticket} if resolved and {error} if rejected.
|
||||
*/
|
||||
logout(): AlfrescoApiClientPromise<void> {
|
||||
@@ -162,7 +160,6 @@ export class ProcessAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* Set the current Ticket
|
||||
*
|
||||
* @param ticket Ticket value
|
||||
*/
|
||||
setTicket(ticket: string) {
|
||||
@@ -184,7 +181,6 @@ export class ProcessAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* Get the current Ticket
|
||||
*
|
||||
* @returns ticket
|
||||
*/
|
||||
getTicket(): string {
|
||||
@@ -193,7 +189,6 @@ export class ProcessAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* If the client is logged in return true
|
||||
*
|
||||
* @returns `true` if logged in, otherwise `false`
|
||||
*/
|
||||
isLoggedIn(): boolean {
|
||||
@@ -202,7 +197,6 @@ export class ProcessAuth extends AlfrescoApiClient {
|
||||
|
||||
/**
|
||||
* return the Authentication
|
||||
*
|
||||
* @returns authentication object
|
||||
*/
|
||||
getAuthentication(): Authentication {
|
||||
|
Reference in New Issue
Block a user