Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Cache
indextrue
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListNGClient

servoy sSummary12%30%58%height: 30px;3Methods SummaryCreates an OAuth service that can be used to obtain an access token and access protected data.

functionservoy sDetail2100%height:30px2Methods DetailsgetOAuthServicename

getOAuthService(provider, clientId, clientSecret, scope, state, callbackmethod)

dessIndent
Creates an OAuth service that can be used to obtain an access token and access protected data.
prs

Parameters

sIndentprovideran OAuth provider id, see plugins.oauth.OAuthProvidersclientIdyour app idclientSecretyour client secretscopeconfigures the OAuth scope. This is only necessary in some APIs (like Microsoft's).stateconfigures the anti forgery session state. This is available in some APIs (like Facebook's).callbackmethodthe name of a global method
ret

Returns

sIndent
clients

Supported Clients

sIndentNGClient
sam

Sample

sIdentjavascript
lastDetailRow