combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / RestDataProvider Class / OAuth2TokenRefreshed Event


In This Topic
    OAuth2TokenRefreshed Event
    In This Topic

    Event fired when OAuth 2.0 tokens are changed due to a token refresh. Use this event to update the stored refresh token with the new value.

    Syntax
    'Declaration
     
    
    Public Event OAuth2TokenRefreshed As EventHandler(Of OAuth2TokenRefreshedEventArgs)
    public event EventHandler<OAuth2TokenRefreshedEventArgs> OAuth2TokenRefreshed
    public:
    event EventHandler<OAuth2TokenRefreshedEventArgs^>^ OAuth2TokenRefreshed
    Event Data

    The event handler receives an argument of type OAuth2TokenRefreshedEventArgs containing data related to this event. The following OAuth2TokenRefreshedEventArgs properties provide information specific to this event.

    PropertyDescription

    The new access token that was issued to the client after refreshing the access token.

     

    The new refresh token that was issued to the client after refreshing the access token. If the value ist not null, the old saved refresh token should be replaced by this new refresh token.

     
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also