Msg.OAuth2Authorizer¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
A client ID for your application. |
||
r/w/co |
Redirect URI to send the response from the authorisation request to. |
||
r/w |
The server provided refresh token. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Msg.OAuth2Authorizer(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(client_id, redirect_uri)¶
- Parameters:
- Return type:
- classmethod test_load_credentials(self)¶
- Parameters:
self (
Msg.Authorizer
) –- Return type:
- classmethod test_save_credentials(self)¶
- Parameters:
self (
Msg.Authorizer
) –
- request_authorization(authorization_code, cancellable)¶
- Parameters:
authorization_code (
str
) –cancellable (
Gio.Cancellable
orNone
) –
- Raises:
- Return type:
Property Details¶
- Msg.OAuth2Authorizer.props.client_id¶
- Name:
client-id
- Type:
- Default Value:
- Flags:
A client ID for your application.
- Msg.OAuth2Authorizer.props.redirect_uri¶
- Name:
redirect-uri
- Type:
- Default Value:
- Flags:
Redirect URI to send the response from the authorisation request to.