View Source NervesHubUserAPI.Auth (nerves_hub_user_api v0.9.0)

Link to this section Summary

Link to this section Types

@type t() ::
  %NervesHubUserAPI.Auth{
    cert: X509.Certificate.t(),
    key: X509.PrivateKey.t(),
    token: nil
  }
  | %NervesHubUserAPI.Auth{cert: nil, key: nil, token: <<_::40>>}

Link to this section Functions

@spec new(keyword() | map()) :: t()