EndpointsMut

Trait EndpointsMut 

Source
pub trait EndpointsMut: ObjectMut {
    // Required methods
    fn set_proxy_url(self, val: Option<String>) -> Self;
    fn set_oauth_authorization_endpoint(self, val: Option<String>) -> Self;
    fn set_oauth_token_endpoint(self, val: Option<String>) -> Self;
    fn set_provide_client_key(self, val: Option<String>) -> Self;
    fn set_sign_client_key(self, val: Option<String>) -> Self;
    fn set_shared_inbox(self, val: Option<String>) -> Self;
}

Required Methods§

Source

fn set_proxy_url(self, val: Option<String>) -> Self

Endpoint URI so this actor’s clients may access remote ActivityStreams objects which require authentication to access. To use this endpoint, the client posts an x-www-form-urlencoded id parameter with the value being the id of the requested ActivityStreams object.

Source

fn set_oauth_authorization_endpoint(self, val: Option<String>) -> Self

If OAuth 2.0 bearer tokens [RFC6749] [RFC6750] are being used for authenticating client to server interactions, this endpoint specifies a URI at which a browser-authenticated user may obtain a new authorization grant.

Source

fn set_oauth_token_endpoint(self, val: Option<String>) -> Self

If OAuth 2.0 bearer tokens [RFC6749] [RFC6750] are being used for authenticating client to server interactions, this endpoint specifies a URI at which a client may acquire an access token.

Source

fn set_provide_client_key(self, val: Option<String>) -> Self

If Linked Data Signatures and HTTP Signatures are being used for authentication and authorization, this endpoint specifies a URI at which browser-authenticated users may authorize a client’s public key for client to server interactions.

Source

fn set_sign_client_key(self, val: Option<String>) -> Self

If Linked Data Signatures and HTTP Signatures are being used for authentication and authorization, this endpoint specifies a URI at which a client key may be signed by the actor’s key for a time window to act on behalf of the actor in interacting with foreign servers.

Source

fn set_shared_inbox(self, val: Option<String>) -> Self

An optional endpoint used for wide delivery of publicly addressed activities and activities sent to followers. sharedInbox endpoints SHOULD also be publicly readable OrderedCollection objects containing objects addressed to the Public special collection. Reading from the sharedInbox endpoint MUST NOT present objects which are not addressed to the Public endpoint.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§