Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/ory/hydra
/ FlowCipher
Method
FlowCipher
flow/flow.go:505–505 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
503
504
type
CipherProvider
interface
{
505
FlowCipher() *aead.XChaCha20Poly1305
506
}
507
508
// ToDeviceChallenge converts the flow into a device challenge.
Callers
15
TestDecodeFromLoginChallenge
Function · 0.65
TestDecodeFromConsentChallenge
Function · 0.65
TestDecodeAndInvalidateLoginVerifier
Function · 0.65
TestDecodeFromDeviceChallenge
Function · 0.65
TestDecodeAndInvalidateDeviceVerifier
Function · 0.65
TestDecodeAndInvalidateConsentVerifier
Function · 0.65
ToDeviceChallenge
Method · 0.65
ToDeviceVerifier
Method · 0.65
ToLoginChallenge
Method · 0.65
ToLoginVerifier
Method · 0.65
ToConsentChallenge
Method · 0.65
ToConsentVerifier
Method · 0.65
Implementers
2
cipherProvider
flow/encoding_test.go
RegistrySQL
driver/registry_sql.go
Calls
no outgoing calls
Tested by
7
TestDecodeFromLoginChallenge
Function · 0.52
TestDecodeFromConsentChallenge
Function · 0.52
TestDecodeAndInvalidateLoginVerifier
Function · 0.52
TestDecodeFromDeviceChallenge
Function · 0.52
TestDecodeAndInvalidateDeviceVerifier
Function · 0.52
TestDecodeAndInvalidateConsentVerifier
Function · 0.52
TestEncoding
Function · 0.52