struct

StableMPC::NewServer

Inherits Struct < Value < Object

Constants

AUTH_TYPES = {"none", "dcr", "oauth", "bearer"}

Constructors

new(name : String, slug, url : String, auth_type : String, client_id : Nil | String, client_secret : Nil | String, allow_insecure_localhost : Bool, bearer_token : String | Nil = nil)
Source

Instance methods

allow_insecure_localhost
Source
auth_type
Source
bearer_token
Source
client_id
Source
client_secret
Source
name
Source
slug
Source
validate(require_bearer_token = true) : String | Nil
Source