This method is being marked as internal. Call IsolatedStorage.Delete from your app.
HasToken
(Guid)
Boolean
internal
Pending 27.0
This method is being marked as internal. Call IsolatedStorage.Contains from your app.
GetTokenDataScope
()
DataScope
public
-
RequestAuthorizationCode
()
internal
Pending 27.0
This method is being marked as internal. Get the Rec."Client ID" from IsolatedStorage, call OAuth20Mgt.GetAuthorizationURLAsSecretText with it, unwrap the result and make a hyperlink.
RequestAccessToken
(var Text, Text)
Boolean
internal
Pending 27.0
This method is being marked as internal. Get the client credentials from IsolatedStorage using Rec."Client ID" and Rec."Client Secret", call OAuth20Mgt.RequestAccessToken or implement this yourself, then save the access token with IsolatedStorage.SetEncrypted or IsolatedStorage.Set.
RefreshAccessToken
(var Text)
Boolean
internal
Pending 27.0
This method is being marked as internal. Get the refresh token with IsolatedStorage.Get(Rec."Refresh Token"), then call OAuth20Mgt.RefreshAccessToken with it and save the access token with IsolatedStorage.SetEncrypted or IsolatedStorage.Set.
InvokeRequest
(Text, var Text, var Text, Boolean)
Boolean
internal
Pending 27.0
This method is being marked as internal. Implement your version of InvokeRequest by getting the Rec."Access Token" from IsolatedStorage, then calling public method OAuth20Mgt.InvokeRequest with it. If you set parameter RetryOnCredentialsFailure to true, you must also subscribe to event OnBeforeRefreshAccessToken raised by OAuth20Setup table and process it with your implementation of RefreshAccessToken and subscribe to OnBeforeInvokeRequest event raised by OAuth20Setup table and process it with your implementation of InvokeRequest (this implementation)
FindSetOAuth20SetupByFeature
(Guid)
Boolean
public
-
FindFirstOAuth20SetupByFeatureAndCurrUser
(Guid)
Boolean
public
-
FindFirstOAuth20SetupByFeatureAndUser
(Guid, Code[50])
Boolean
public
-
SetToken
(var Guid, SecretText)
internal
Pending 27.0
This method is being marked as internal. Call IsolatedStorage.SetEncrypted or IsolatedStorage.Set from your app.
GetTokenAsSecretText
(Guid)
SecretText
internal
Pending 27.0
This method is being marked as internal. Call IsolatedStorage.Get from your app.
Events, 5
Kind
Name
Parameters
Obsolete
Integration event
OnAfterRequestAccessToken
(Record OAuth 2.0 Setup, Boolean, var Text)
-
Integration event
OnBeforeRequestAuthoizationCode
(Record OAuth 2.0 Setup, var Boolean)
-
Integration event
OnBeforeRefreshAccessToken
(var Record OAuth 2.0 Setup, var Boolean, var Text, var Boolean)
-
Integration event
OnBeforeRequestAccessToken
(var Record OAuth 2.0 Setup, Text, var Boolean, var Text, var Boolean)
-
Integration event
OnBeforeInvokeRequest
(var Record OAuth 2.0 Setup, Text, var Text, var Text, var Boolean, var Boolean, Boolean)