OAuth2Support
Object Hierarchy:
Description:
[
CCode ( type_cname =
"EOAuth2SupportInterface" , type_id =
"e_oauth2_support_get_type ()" ) ]
[
Version ( since =
"3.8" ) ]
public interface OAuth2Support :
Object
All known implementing classes:
Content:
Methods:
- public abstract async bool get_access_token (Source source, Cancellable? cancellable, out string out_access_token, out int out_expires_in) throws Error
Asynchronously obtains the OAuth 2.0 access token for source
along with its expiry in seconds from the current time (or 0 if unknown).
- public abstract bool get_access_token_sync (Source source, Cancellable? cancellable, out string out_access_token, out int out_expires_in) throws Error
Obtains the OAuth 2.0 access token for source along with
its expiry in seconds from the current time (or 0 if unknown).
Inherited Members:
All known members inherited from class GLib.Object