| Home | All functions | Legacy functions | Categories |
vuOAuthClear(*CSTRING Provider,*CSTRING AccountKey,*CSTRING OutText,LONG OutTextLen),SIGNED,PROC,PASCAL,RAW,NAME('vuOAuthClear')
Removes OAuth state/token information for the specified provider/account key.
| Parameter | Type | Description |
|—|—|—|
| Provider | *CSTRING | Provider identifier. |
| AccountKey | *CSTRING | Account key identifier. |
| OutText | *CSTRING | Output buffer receiving clear status text. |
| OutTextLen | LONG | Size of OutText buffer in bytes. |
>= 0: Result code from core OAuth clear operation.-9: Core unavailable or exception.MAP
MODULE('vuMail.dll')
vuOAuthClear(*CSTRING Provider,*CSTRING AccountKey,*CSTRING OutText,LONG OutTextLen),SIGNED,PROC,PASCAL,RAW,NAME('vuOAuthClear')
END
END
rc LONG
provider CSTRING(64)
accountKey CSTRING(128)
outText CSTRING(1024)
outLen LONG
provider = 'Microsoft'
accountKey = 'user@example.com'
outText = ''
outLen = SIZE(outText)
rc = vuOAuthClear(provider, accountKey, outText, outLen)
IF rc < 0
MESSAGE('Clear failed: ' & rc & '| ' & outText)
END
| Home | All functions | Legacy functions | Categories |