projects
/
civicrm-core.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
dev/core#2141 - Basic UI for CRUD'ing clients
[civicrm-core.git]
/
ext
/
oauth-client
/
CRM
/
OAuth
/
Angular.php
1
<
?php
2
3
class
CRM_OAuth_Angular
{
4
5
public static function
getSettings
() {
6
$s
= [];
7
8
$s
[
'redirectUrl'
] =
\CRM_OAuth_BAO_OAuthClient
::
getRedirectUri
();
9
$s
[
'providers'
] =
civicrm_api4
(
'OAuthProvider'
,
'get'
, [])->
indexBy
(
'name'
);
10
11
return
$s
;
12
}
13
14
}