Reference: protocol.auth.v1

Table Of Contents

Message Types

BeginAuthResponse

Fields

Name Type
auth_id string

Session

Fields

Name Type
user_id uint64
session_token string

AuthStep

Fields

Name Type
fallback_url string
can_go_back bool
choice protocol.auth.v1.AuthStep.Choice
form protocol.auth.v1.AuthStep.Form
session protocol.auth.v1.Session
waiting protocol.auth.v1.AuthStep.Waiting

NextStepRequest

Fields

Name Type
auth_id string
choice protocol.auth.v1.NextStepRequest.Choice
form protocol.auth.v1.NextStepRequest.Form

StepBackRequest

Fields

Name Type
auth_id string

StreamStepsRequest

Fields

Name Type
auth_id string

FederateRequest

Fields

Name Type
target string

FederateReply

Fields

Name Type
token protocol.harmonytypes.v1.Token
nonce string

KeyReply

Fields

Name Type
key string

LoginFederatedRequest

Fields

Name Type
auth_token protocol.harmonytypes.v1.Token
domain string

TokenData

Fields

Name Type
user_id uint64
target string
username string
avatar string

AuthStep.Choice

Fields

Name Type
title string
options string

AuthStep.Form

Fields

Name Type
title string
fields protocol.auth.v1.AuthStep.Form.FormField

AuthStep.Waiting

Fields

Name Type
title string
description string

AuthStep.Form.FormField

Fields

Name Type
name string
type string

NextStepRequest.Choice

Fields

Name Type
choice string

NextStepRequest.FormFields

Fields

Name Type
bytes bytes
string string
number int64

NextStepRequest.Form

Fields

Name Type
fields protocol.auth.v1.NextStepRequest.FormFields

Services

AuthService

Unary Methods

Name Request Response
Federate protocol.auth.v1.FederateRequest protocol.auth.v1.FederateReply
LoginFederated protocol.auth.v1.LoginFederatedRequest protocol.auth.v1.Session
Key google.protobuf.Empty protocol.auth.v1.KeyReply
BeginAuth google.protobuf.Empty protocol.auth.v1.BeginAuthResponse
NextStep protocol.auth.v1.NextStepRequest protocol.auth.v1.AuthStep
StepBack protocol.auth.v1.StepBackRequest protocol.auth.v1.AuthStep
CheckLoggedIn google.protobuf.Empty google.protobuf.Empty

Streaming Methods

Name Client Streams Server Streams