UserInfo type: user#
- class lumen.variables.base.UserInfo(*, key, default, label, materialize, required, secure, value, name)#
UserInfo variables reflect a value in the user info returned by an OAuth provider.
Parameters#
key
type: str
default: None
The key in the OAuth pn.state.user_info dictionary to observe.
Methods#
- UserInfo.as_materialized() Constant #
If the variable is to be materialized by the builder this implements the conversion from a variable that references some external value to a materialized value.
- UserInfo.to_spec(context: Dict[str, Any] | None = None) Dict[str, Any] #
Exports the full specification to reconstruct this component.
- Return type:
Resolved and instantiated Component object