userver: server::handlers::auth::AuthCheckResult Struct Reference
Loading...
Searching...
No Matches
server::handlers::auth::AuthCheckResult Struct Reference

Detailed Description

Public Types

enum class  Status {
  kTokenNotFound ,
  kInternalCheckFailure ,
  kInvalidToken ,
  kForbidden ,
  kOk
}
 

Public Attributes

Status status {Status::kOk}
 
std::optional< std::string > reason {}
 
std::optional< std::string > ext_reason {}
 
std::optional< HandlerErrorCodecode {}
 

Member Enumeration Documentation

◆ Status

enum class server::handlers::auth::AuthCheckResult::Status
strong

Definition at line 17 of file auth_checker_base.hpp.

Member Data Documentation

◆ code

std::optional<HandlerErrorCode> server::handlers::auth::AuthCheckResult::code {}

Definition at line 22 of file auth_checker_base.hpp.

◆ ext_reason

std::optional<std::string> server::handlers::auth::AuthCheckResult::ext_reason {}

Definition at line 21 of file auth_checker_base.hpp.

◆ reason

std::optional<std::string> server::handlers::auth::AuthCheckResult::reason {}

Definition at line 20 of file auth_checker_base.hpp.

◆ status

Status server::handlers::auth::AuthCheckResult::status {Status::kOk}

Definition at line 19 of file auth_checker_base.hpp.


The documentation for this struct was generated from the following file: