dolibarr 21.0.0-beta
oauth.lib.php File Reference

Function for module Oauth. More...

Go to the source code of this file.

Functions

 getAllOauth2Array ()
 Return array of possible OAUTH2 services.
 
 getSupportedOauth2Array ()
 Return array of tabs to use on pages to setup cron module.
 
 oauthadmin_prepare_head ()
 Return array of tabs to used on pages to setup cron module.
 

Detailed Description

Function for module Oauth.

Definition in file oauth.lib.php.

Function Documentation

◆ getAllOauth2Array()

getAllOauth2Array ( )

Return array of possible OAUTH2 services.

Returns
array<string[]> Array of services

Definition at line 34 of file oauth.lib.php.

◆ getSupportedOauth2Array()

getSupportedOauth2Array ( )

Return array of tabs to use on pages to setup cron module.

Returns
array<string,array<string,string>> Array of tabs

Definition at line 280 of file oauth.lib.php.

Referenced by CMailFile\sendfile().

◆ oauthadmin_prepare_head()

oauthadmin_prepare_head ( )

Return array of tabs to used on pages to setup cron module.

Returns
array<array{0:string,1:string,2:string}> Array of tabs to show

Definition at line 365 of file oauth.lib.php.

References $conf, complete_head_from_modules(), and dol_buildpath().