(codeVerifier string)
| 762 | } |
| 763 | |
| 764 | func (service *OIDCService) hashAndEncodePKCE(codeVerifier string) string { |
| 765 | hasher := sha256.New() |
| 766 | hasher.Write([]byte(codeVerifier)) |
| 767 | return base64.RawURLEncoding.EncodeToString(hasher.Sum(nil)) |
| 768 | } |
no outgoing calls
no test coverage detected