github.com/microsoft/moc@v0.17.1/rpc/nodeagent/security/authentication/moc_nodeagent_authentication.proto (about)

     1  // Copyright (c) Microsoft Corporation.
     2  // Licensed under the Apache v2.0 license.
     3  
     4  syntax = "proto3";
     5  option go_package = "github.com/microsoft/moc/rpc/nodeagent/security";
     6  package moc.nodeagent.security;
     7  
     8  import "google/protobuf/wrappers.proto";
     9  import "moc_nodeagent_identity.proto";
    10  import "moc_common_common.proto";
    11  
    12  message AuthenticationRequest {
    13  	Identity Identity = 1;
    14  }
    15  
    16  message AuthenticationResponse {
    17  	string Token = 1 [(sensitive) = true];
    18  	google.protobuf.BoolValue Result = 2;
    19  	string Error = 3;
    20  }
    21  
    22  service AuthenticationAgent {
    23  	rpc Login(AuthenticationRequest) returns (AuthenticationResponse) {}
    24  }