var searchIndex = {}; searchIndex["oauth_api"] = {"doc":"A library for making oauth2 requests with updated depencies like curl 0.3.0","items":[[3,"Config","oauth_api","Configuration of an oauth2 application.",null,null],[12,"client_id","","",0,null],[12,"client_secret","","",0,null],[12,"scopes","","",0,null],[12,"auth_url","","",0,null],[12,"token_url","","",0,null],[12,"redirect_url","","",0,null],[3,"Token","","Represents a Token struct",null,null],[12,"access_token","","access token used to authenticate queries",1,null],[12,"scopes","","A vec of scopes",1,null],[12,"token_type","","'bearer', etc...",1,null],[8,"Authorization","","Helper trait for extending the builder-style pattern of curl::easy::Easy.",null,null],[10,"auth_with","","",2,null],[11,"partial_cmp","","",1,null],[11,"lt","","",1,null],[11,"le","","",1,null],[11,"gt","","",1,null],[11,"ge","","",1,null],[11,"cmp","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"new","","Generates a new config from the given fields",0,{"inputs":[{"name":"str"},{"name":"str"},{"name":"str"},{"name":"str"}],"output":{"name":"config"}}],[11,"authorize_url","","Generates an auth url to visit from the infomation in the config struct",0,null],[11,"exchange","","Given a code (obtained from the authorize_url) and varies by service.\nexchange will then make a POST request with the code and attempt to retrieve an access token.\nOn success, the token is returned as a Result. On failure, a string with an error description\nis returned as a Result",0,null]],"paths":[[3,"Config"],[3,"Token"],[8,"Authorization"]]}; initSearch(searchIndex);