MsappMcp.Types (msapp_mcp v0.1.0)

Defines Msplatform/MsappMcp data types which appear in processing functionality.

Summary

Types

Link to this type

form_data_def()

@type form_data_def() :: %{required(form_field_name()) => form_field_def()}
Link to this type

form_field_def()

@type form_field_def() :: %{label: String.t(), info: String.t()}
Link to this type

form_field_name()

@type form_field_name() :: atom()
Link to this type

login_failure_reasons()

@type login_failure_reasons() ::
  :rejected
  | :rejected_rate_limited
  | :rejected_validation
  | :rejected_identity_expired
  | :rejected_host_check
  | :rejected_deadline_expired
Link to this type

login_result()

@type login_result() ::
  :login_authenticated
  | {:login_denied, login_failure_reasons() | nil}
  | {:login_pending | :login_reset | :platform_error, map()}
Link to this type

mssub_mcp_states()

@type mssub_mcp_states() :: :platform_bootstrapping | :platform_active