RAPyDo HTTP-APIs
3.1
restapi
restapi.config
restapi.endpoints
restapi.env
restapi.exceptions
restapi.models
restapi.rest
restapi.services
restapi.services.authentication
restapi.services.authentication.get_login_ban_time
restapi.services.authentication.get_max_login_attempts
restapi.services.authentication.get_timedelta
restapi.services.authentication.import_secret
restapi.services.authentication.BaseAuthentication
restapi.services.authentication.DecodedPayload
restapi.services.authentication.NoAuthentication
restapi.services.authentication.Payload
restapi.services.authentication.Role
restapi.services.authentication.Token
restapi.services.authentication.AuthMissingTOTP
restapi.services.authentication.InvalidToken
restapi.types
restapi.utilities
RAPyDo HTTP-APIs
restapi
restapi.services
restapi.services.authentication
restapi.services.authentication.BaseAuthentication
restapi.services.authentication.BaseAuthentication.create_role
Edit on GitHub
restapi.services.authentication.BaseAuthentication.create_role
abstract
BaseAuthentication.
create_role
(
name
,
description
)
[source]
A method to create a new role
Parameters
:
name
(
str
)
description
(
str
)
Return type
:
None