File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ declare module 'bedrock-protocol' {
196
196
// tokens to join the backend server. Cached after the first login.
197
197
// If this is not specified, the client will be disconnected with a login prompt.
198
198
onMsaCode ?( data : ServerDeviceCodeResponse , client : Client ) : any
199
+ // prismarine-auth configuration
200
+ flow ?: string ,
201
+ deviceType ?: string
199
202
}
200
203
201
204
export class Relay extends Server {
Original file line number Diff line number Diff line change @@ -186,6 +186,8 @@ class Relay extends Server {
186
186
async openUpstreamConnection ( ds , clientAddr ) {
187
187
const options = {
188
188
authTitle : this . options . authTitle ,
189
+ flow : this . options . flow ,
190
+ deviceType : this . options . deviceType ,
189
191
offline : this . options . destination . offline ?? this . options . offline ,
190
192
username : this . options . offline ? ds . profile . name : ds . profile . xuid ,
191
193
version : this . options . version ,
You can’t perform that action at this time.
0 commit comments