Coerce lists to oauth2 security schemes
Source:R/components-security_scheme-oauth2.R
as_oauth2_security_scheme.Rd
as_oauth2_security_scheme()
turns an existing object into an
oauth2_security_scheme
. This is in contrast with
class_oauth2_security_scheme()
, which builds an oauth2_security_scheme
from individual properties.
Arguments
- x
The object to coerce. Must be empty or be a list with an object named "flows" or a name that can be coerced to "flows" via
snakecase::to_snake_case()
. Additional names are ignored.- ...
These dots are for future extensions and must be empty.
Value
An oauth2_security_scheme
as returned by
class_oauth2_security_scheme()
.
See also
security scheme objects
as_api_key_security_scheme()
,
as_oauth2_authorization_code_flow()
,
as_oauth2_implicit_flow()
,
as_oauth2_token_flow()
,
as_scopes()
,
as_security_scheme()
,
as_security_scheme_details()
,
as_security_schemes()
,
class_api_key_security_scheme()
,
class_oauth2_authorization_code_flow()
,
class_oauth2_implicit_flow()
,
class_oauth2_security_scheme()
,
class_oauth2_token_flow()
,
class_scopes()
,
class_security_scheme_details()
,
class_security_schemes()
components object
as_api_key_security_scheme()
,
as_components()
,
as_oauth2_authorization_code_flow()
,
as_oauth2_implicit_flow()
,
as_oauth2_token_flow()
,
as_reference()
,
as_schema()
,
as_scopes()
,
as_security_scheme()
,
as_security_scheme_details()
,
as_security_schemes()
,
class_api_key_security_scheme()
,
class_components()
,
class_oauth2_authorization_code_flow()
,
class_oauth2_implicit_flow()
,
class_oauth2_security_scheme()
,
class_oauth2_token_flow()
,
class_reference()
,
class_schema()
,
class_scopes()
,
class_security_scheme_details()
,
class_security_schemes()