Holder/Dispatcher for user-provided authorization info. Initialize this object like Security(app), where app is an instance of App. To add authorization, call Security.update_with(name, token), where name is the name of Authorizations object in Swagger 1.2(Security Scheme Object in Swagger 2.0) , and token is different for different kinds of authorizations:
- basic authorization: (username, password)
- api key: the api key
- oauth2: the access_token