Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
LoicPoullain committed Aug 22, 2024
1 parent 4c21bb0 commit ed1e355
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/social/src/abstract-provider.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,9 @@ export abstract class AbstractProvider<AuthParameters extends ObjectType, UserIn

/**
* Returns an HttpResponseOK or HttpResponseRedirect object to redirect the user to the social provider's authorization page.
*
*
* If the isRedirection parameter is undefined or set to false, the function returns an HttpResponseOK object. Its body contains the URL of the consent page.
*
*
* If the isRedirection parameter is set to true, the function returns an HttpResponseRedirect object.
*
* @param {{ scopes?: string[] }} [{ scopes }={}] - Custom scopes to override the default ones used by the provider.
Expand Down Expand Up @@ -311,7 +311,7 @@ export abstract class AbstractProvider<AuthParameters extends ObjectType, UserIn

/**
* Returns an HttpResponseRedirect object to redirect the user to the social provider's authorization page.
*
*
* This function is deprecated. Use createHttpResponseWithConsentPageUrl instead with isRedirection set to true.
*
* @param {{ scopes?: string[] }} [{ scopes }={}] - Custom scopes to override the default ones used by the provider.
Expand Down

0 comments on commit ed1e355

Please sign in to comment.