userver: userver/server/auth/user_scopes.hpp File Reference
Loading...
Searching...
No Matches
user_scopes.hpp File Reference

Detailed Description

User authorization scope types.

Definition in file user_scopes.hpp.

Go to the source code of this file.

#include <functional>
#include <string>
#include <string_view>
#include <vector>
#include <userver/formats/parse/to.hpp>
+ This graph shows which files directly or indirectly include this file:

Classes

class  server::auth::UserScope
 
struct  std::hash<::server::auth::UserScope >
 

Namespaces

namespace  std
 STL namespace.
 

Typedefs

using server::auth::UserScopes = std::vector<UserScope>
 

Functions

bool server::auth::operator== (const UserScope &lhs, const UserScope &rhs)
 
bool server::auth::operator!= (const UserScope &lhs, const UserScope &rhs)
 
bool server::auth::operator== (const UserScope &lhs, std::string_view rhs)
 
bool server::auth::operator== (std::string_view lhs, const UserScope &rhs)
 
bool server::auth::operator!= (const UserScope &lhs, std::string_view rhs)
 
bool server::auth::operator!= (std::string_view lhs, const UserScope &rhs)
 
template<class Value>
UserScope server::auth::Parse (const Value &v, formats::parse::To< UserScope >)
 

Typedef Documentation

◆ UserScopes

using server::auth::UserScopes = std::vector<UserScope>

Definition at line 46 of file user_scopes.hpp.

Function Documentation

◆ operator!=() [1/3]

bool server::auth::operator!= ( const UserScope & lhs,
const UserScope & rhs )
inline

Definition at line 31 of file user_scopes.hpp.

◆ operator!=() [2/3]

bool server::auth::operator!= ( const UserScope & lhs,
std::string_view rhs )
inline

Definition at line 37 of file user_scopes.hpp.

◆ operator!=() [3/3]

bool server::auth::operator!= ( std::string_view lhs,
const UserScope & rhs )
inline

Definition at line 39 of file user_scopes.hpp.

◆ operator==() [1/3]

bool server::auth::operator== ( const UserScope & lhs,
const UserScope & rhs )
inline

Definition at line 29 of file user_scopes.hpp.

◆ operator==() [2/3]

bool server::auth::operator== ( const UserScope & lhs,
std::string_view rhs )
inline

Definition at line 33 of file user_scopes.hpp.

◆ operator==() [3/3]

bool server::auth::operator== ( std::string_view lhs,
const UserScope & rhs )
inline

Definition at line 35 of file user_scopes.hpp.

◆ Parse()

template<class Value>
UserScope server::auth::Parse ( const Value & v,
formats::parse::To< UserScope >  )

Definition at line 42 of file user_scopes.hpp.