cRequestToken request URL.
AdvPL GuideFWoAuthURL():New(cRequest,cAuthorize,cAccess)Configures a documented OAuth-client stage.
Groups request-token, authorization and access-token URLs. It holds no credentials and construction neither authenticates users nor sends requests. Endpoints must match provider/environment, with registered callback when required. The example uses example.invalid as a teaching domain rather than a real service. (Sources: refs. 1–1.)
FWoAuthURL():New(cRequest,cAuthorize,cAccess)cRequestToken request URL.
cAuthorizeAuthorization URL.
cAccessAccess-token URL.
FWoAuthURL():New(cRequest,cAuthorize,cAccess)#Include "Protheus.ch"
User Function Ed443()
// Configure fictional URLs only; no request.
Local oUrls := FWoAuthURL():New("https://example.invalid/request","https://example.invalid/authorize","https://example.invalid/access")
FreeObj(oUrls)
Return NilPrepared configuration without authentication or external communication. Under review: editorial example neither compiled nor run in Protheus. Check includes, release, RDD and context before testing.
© 2026 Usina.BR. All rights reserved. TOTVS, Protheus, Microsiga and their respective logos are trademarks of their owners. AdvPL Guide is independent and uses limited, attributed excerpts justified by educational purposes. See the Terms of Use. Terms of Use
Comments
There are no approved comments yet.
Sign in with Google or Microsoft to comment.