(code string)
| 425 | return string(code[:]), nil |
| 426 | } |
| 427 | func cliUserCodeHash(code string) string { return fmt.Sprintf("%x", sha256.Sum256([]byte(code))) } |
| 428 | |
| 429 | func (s *Store) CreateCLIDeviceAuthSession(req CLIAuthRequester) (*CLIAuthSession, error) { |
| 430 | return s.createCLIDeviceAuthSession(req, generateCLIUserCode) |
no outgoing calls
no test coverage detected