docs

Home All functions Legacy functions Categories

vuOAuthGetProvider()

Purpose

Returns the currently stored default OAuth provider string.

This is an advanced/manual helper. Most applications use the vuMailKit Email Setup Wizard and saved profile behavior instead of reading the provider directly.

Clarion prototype

Prototype: vuOAuthGetProvider(*CSTRING OutProvider), SIGNED, PROC, PASCAL, RAW, NAME(‘vuOAuthGetProvider’)

Parameters

Parameter Type Description
OutProvider *CSTRING Output buffer that receives the provider name. Use a writable CSTRING of at least 64 bytes.

Return value / error codes

Value Meaning
1 Success.

Example (Clarion)

Result      LONG
OutProvider CSTRING(64)

CLEAR(OutProvider)
Result = vuOAuthGetProvider(OutProvider)
IF Result = 1
  MESSAGE('Provider=' & OutProvider)
END

Notes

Home All functions Legacy functions Categories