Foundry.AuthProvider¶
- Subclasses:
Methods¶
- Inherited:
Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8)
- Structs:
class |
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Foundry.AuthProvider(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
Abstract class for requesting credentials from a user.
This abstract class can be implemented to provide an interface for the user to provide credentials. Applications are encouraged to provide this so that password input and similar is possible.
- classmethod new_for_context(context)¶
- Parameters:
context (
Foundry.Context) – a [class`Foundry`.Context]- Return type:
Creates a new [class`Foundry`.AuthProvider] for context.
- prompt(input)¶
- Parameters:
input (
Foundry.Input) – a [class`Foundry`.Input]- Returns:
a [class`Dex`.Future] that resolves to any value when the prompt has been completed by the user.
- Return type:
- do_prompt(input) virtual¶
- Parameters:
input (
Foundry.Input) – a [class`Foundry`.Input]- Returns:
a [class`Dex`.Future] that resolves to any value when the prompt has been completed by the user.
- Return type: