pub fn auth_redirect(
redirect: Uri,
) -> Result(#(String, String), String)
pub fn authenticate(app: App) -> Effect(#(String, Int))
pub fn do_authenticate(
app: App,
state: String,
) -> Effect(#(String, Int))
pub fn list_domains(
token: String,
account: Int,
) -> Effect(List(Domain))
pub fn list_domains_request(
token: String,
account: Int,
) -> Request(BitArray)
pub fn list_domains_response(
response: Response(BitArray),
) -> Result(List(Domain), Snag)
pub fn token_request(
client_id: String,
client_secret: String,
redirect_uri: String,
code: String,
state: String,
) -> Request(BitArray)
pub fn token_response(
response: Response(BitArray),
) -> Result(#(String, Int), a)