OpenStax.Swift v0.3.0 OpenStax.Swift.Endpoint View Source

This module is responsible for storing configuration of Swift endpoints.

Link to this section Summary

Functions

Returns current auth token for an endpoint

Returns current configuration for an endpoint

Starts a new agent for storing configuration

Link to this section Functions

Link to this function get_auth_token(endpoint_id) View Source

Returns current auth token for an endpoint.

Returns current configuration for an endpoint.

Link to this function register(endpoint_id, auth_token \\ nil, endpoint_url \\ nil, signing_key \\ nil, public_url \\ nil) View Source

Registers new endpoint.

Link to this function set_config(endpoint_id, auth_token, endpoint_url, signing_key \\ nil, public_url \\ nil) View Source

Sets current configuration for an endpoint.

Starts a new agent for storing configuration.