init
This commit is contained in:
18
custom_components/openid/const.py
Normal file
18
custom_components/openid/const.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Constants for OpenID integration."""
|
||||
|
||||
DOMAIN = "openid"
|
||||
|
||||
# Either provide these URLs in the config or use the configure url to discover them
|
||||
CONF_AUTHORIZE_URL = "authorize_url"
|
||||
CONF_TOKEN_URL = "token_url"
|
||||
CONF_USER_INFO_URL = "user_info_url"
|
||||
|
||||
CONF_CONFIGURE_URL = "configure_url"
|
||||
|
||||
CONF_USERNAME_FIELD = "username_field"
|
||||
CONF_SCOPE = "scope"
|
||||
|
||||
CONF_CREATE_USER = "create_user"
|
||||
CONF_BLOCK_LOGIN = "block_login"
|
||||
CONF_USE_HEADER_AUTH = "use_header_auth"
|
||||
CONF_OPENID_TEXT = "openid_text"
|
||||
Reference in New Issue
Block a user