servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListNGClientservoy sSummary12%30%58%height: 30px;3Methods SummaryCreates an OAuth service that can be used to obtain an access token and access protected data.Creates an OAuth service configurator.functionservoy sDetail2100%height:30px2Methods DetailsgetOAuthServicename
Creates an OAuth service that can be used to obtain an access token and access protected data.
This method will be deprecated in the following versions, the preferred way is plugins.oauth.serviceBuilder with a callback function.
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).deeplinkmethodthe name of a global method, which will get the code returned by the OAuth providerret