Discuss this help topic in SecureBlackbox Forum

TElSimpleOAuth2Client.AutoRefresh

TElSimpleOAuth2Client     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Specifies whether access token should be automatically refreshed.

Declaration

[C#]
    bool AutoRefresh;

[VB.NET]
    Property AutoRefresh As Boolean

[Pascal]
    property AutoRefresh : Boolean;

[C++]
    bool get_AutoRefresh();
    void set_AutoRefresh(bool Value);

[PHP]
    bool get_AutoRefresh()
    void set_AutoRefresh(bool $Value)

[Java]
    boolean getAutoRefresh();
    void setAutoRefresh(boolean Value);

Description

Set this property to true to let TElSimpleOAuth2Client automatically refresh AccessToken. If available, RefreshToken is used to renew access token. Otherwise the authorization process is initiated from the beginning, with user authentication and so on.

The default value is False.

See also:     AccessToken     RefreshToken    

Discuss this help topic in SecureBlackbox Forum