OAuth2Proxy
Object Hierarchy:
Description:
[
CCode ( cname =
"OAuth2Proxy" , lower_case_cprefix =
"oauth2_proxy_" , type_id =
"oauth2_proxy_get_type ()" ) ]
public class OAuth2Proxy :
Proxy
OAuth2Proxy has no publicly available members.
Content:
Properties:
Static methods:
Creation methods:
- public OAuth2Proxy (string client_id, string auth_endpoint, string url_format, bool binding_required)
Create a new OAuth2Proxy for the specified
endpoint url_format
, using the specified API key and secret.
- public OAuth2Proxy.with_token (string client_id, string access_token, string auth_endpoint, string url_format, bool binding_required)
Create a new OAuth2Proxy for the specified
endpoint url_format
, using the specified client id
Methods:
- public string build_login_url (string redirect_uri)
Builds a url at which the user can log in to the specified
OAuth2-based web service.
- public string build_login_url_full (string redirect_uri, HashTable<void*,void*> extra_params)
Builds a url at which the user can log in to the specified
OAuth2-based web service.
- public unowned string get_access_token ()
Get the current request or access token.
- public void set_access_token (string access_token)
Set the access token.
Inherited Members:
All known members inherited from class Rest.Proxy
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref