def method_authorizations(*scopes) ->dict:
    """
    Return method security.
    Contains only one OAuth2 security.

    :param scopes: All scope names that should be available (as string).
    """
    return {'security': [{'oauth2': scopes}]}
