glitch/auth/redirect_server

Types

pub type Message {
  Shutdown
  Start
}

Constructors

  • Shutdown
  • Start
pub opaque type RedirectServer
pub type Status {
  Running
  Stopped
}

Constructors

  • Running
  • Stopped

Functions

pub fn new(
  csrf_state: String,
  mailbox: Subject(String),
  redirect_uri: Uri,
) -> Result(Subject(Message), StartError)
pub fn shutdown(server: Subject(Message)) -> Nil
pub fn start(server: Subject(Message)) -> Nil
Search Document