mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-04 20:49:06 +02:00
[client] Address review comments on PKCE session extend flow
Fail the PKCE authorization flow test on request error instead of continuing into a nil dereference, and make the godoc comments on the touched exported symbols identifier-leading full sentences.
This commit is contained in:
@@ -738,7 +738,7 @@ func (c *GrpcClient) GetDeviceAuthorizationFlow() (*proto.DeviceAuthorizationFlo
|
||||
return flowInfoResp, nil
|
||||
}
|
||||
|
||||
// GetPKCEAuthorizationFlow returns a pkce authorization flow information.
|
||||
// GetPKCEAuthorizationFlow returns the PKCE authorization flow information.
|
||||
// It also takes care of encrypting and decrypting messages.
|
||||
//
|
||||
// sessionExtend tells the server the flow will renew an existing peer's session
|
||||
|
||||
Reference in New Issue
Block a user