[][src]Trait goa::OAuth2BasedExt

pub trait OAuth2BasedExt: 'static {
    fn call_get_access_token<P: IsA<Cancellable>, Q: FnOnce(Result<(GString, i32), Error>) + Send + 'static>(
        &self,
        cancellable: Option<&P>,
        callback: Q
    );
fn call_get_access_token_future(
        &self
    ) -> Box_<dyn Future<Output = Result<(GString, i32), Error>> + Unpin>;
fn call_get_access_token_sync<P: IsA<Cancellable>>(
        &self,
        cancellable: Option<&P>
    ) -> Result<(GString, i32), Error>;
fn dup_client_id(&self) -> Option<GString>;
fn dup_client_secret(&self) -> Option<GString>;
fn get_client_id(&self) -> Option<GString>;
fn get_client_secret(&self) -> Option<GString>;
fn set_client_id(&self, value: &str);
fn set_client_secret(&self, value: &str);
fn connect_property_client_id_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_client_secret_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn call_get_access_token<P: IsA<Cancellable>, Q: FnOnce(Result<(GString, i32), Error>) + Send + 'static>(
    &self,
    cancellable: Option<&P>,
    callback: Q
)

fn call_get_access_token_future(
    &self
) -> Box_<dyn Future<Output = Result<(GString, i32), Error>> + Unpin>

fn call_get_access_token_sync<P: IsA<Cancellable>>(
    &self,
    cancellable: Option<&P>
) -> Result<(GString, i32), Error>

fn dup_client_id(&self) -> Option<GString>

fn dup_client_secret(&self) -> Option<GString>

fn get_client_id(&self) -> Option<GString>

fn get_client_secret(&self) -> Option<GString>

fn set_client_id(&self, value: &str)

fn set_client_secret(&self, value: &str)

fn connect_property_client_id_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

fn connect_property_client_secret_notify<F: Fn(&Self) + 'static>(
    &self,
    f: F
) -> SignalHandlerId

Loading content...

Implementors

impl<O: IsA<OAuth2Based>> OAuth2BasedExt for O[src]

Loading content...