struct PlaceOS::Client::API::Models::Authority

Overview

Metadata about the PlaceOS instance connected to.

This provides information that may be of relevance for authentication or providing client-side configuration information.

Defined in:

placeos/api/models/authority.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct PlaceOS::Client::API::Models::Response

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

Metadata about the PlaceOS instance connected to.

This provides information that may be of relevance for authentication or providing client-side configuration information.


[View source]

Instance Method Detail

def config : Hash(String, JSON::Any) #

Additional configuration / context for clients.


[View source]
def description : String | Nil #

Authority description (markdown).


[View source]
def domain : String #

FQDN or IP address this authority serves.


[View source]
def id : String #

A universally unique identifier that represents the Authority.


[View source]
def login_url : String #

Path that clients should use for initiating authentication.


[View source]
def logout_url : String #

Path that clients should use for revoking authentication.


[View source]
def name : String #

Human readable name


[View source]
def version : String #

Version of application


[View source]