Skip to content

OAuthApplicationTokenInfo Class

  • OAuthApplicationTokenInfo
  • class Esri::ArcGISRuntime::Authentication::OAuthApplicationTokenInfo

    The OAuth application token information that can be used to access OAuth token-secured ArcGIS content and services. More...

    Header: #include <Authentication/OAuthApplicationTokenInfo.h>
    Since: Esri::ArcGISRuntime 200.8
    Inherits: Esri::ArcGISRuntime::Object

    Public Functions

    virtual ~OAuthApplicationTokenInfo() override
    QString accessToken() const
    QDateTime expirationDate() const
    bool operator!=(Esri::ArcGISRuntime::Authentication::OAuthApplicationTokenInfo *other) const
    bool operator==(Esri::ArcGISRuntime::Authentication::OAuthApplicationTokenInfo *other) const

    Detailed Description

    Member Function Documentation

    [override virtual noexcept] OAuthApplicationTokenInfo::~OAuthApplicationTokenInfo()

    Destructor.

    QString OAuthApplicationTokenInfo::accessToken() const

    Returns the access token to be used to make an authenticated request.

    QDateTime OAuthApplicationTokenInfo::expirationDate() const

    Returns the access token expiration date.

    bool OAuthApplicationTokenInfo::operator!=(Esri::ArcGISRuntime::Authentication::OAuthApplicationTokenInfo *other) const

    Tests and returns true if the two OAuthApplicationTokenInfo objects are not equal.

    • other - The token information to compare to.

    bool OAuthApplicationTokenInfo::operator==(Esri::ArcGISRuntime::Authentication::OAuthApplicationTokenInfo *other) const

    Tests and returns true if the two OAuthApplicationTokenInfo objects are equal.

    • other - The token information to compare to.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.