ory-kratos 0.0.5.9 → 0.0.5.10
raw patch · 7 files changed
+12/−12 lines, 7 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- OryKratos.Types: CreateRecoveryLink :: Maybe Text -> Text -> CreateRecoveryLink
+ OryKratos.Types: CreateRecoveryLink :: Maybe Text -> UUID -> CreateRecoveryLink
- OryKratos.Types: Identity :: Text -> Maybe [RecoveryAddress] -> Text -> Text -> Value -> Maybe [VerifiableAddress] -> Identity
+ OryKratos.Types: Identity :: UUID -> Maybe [RecoveryAddress] -> Text -> Text -> Value -> Maybe [VerifiableAddress] -> Identity
- OryKratos.Types: LoginFlow :: Maybe Text -> UTCTime -> Maybe Bool -> Text -> UTCTime -> Maybe [Message] -> LoginFlowMethods -> Text -> Maybe Text -> LoginFlow
+ OryKratos.Types: LoginFlow :: Maybe Text -> UTCTime -> Maybe Bool -> UUID -> UTCTime -> Maybe [Message] -> LoginFlowMethods -> Text -> Maybe Text -> LoginFlow
- OryKratos.Types: RecoveryAddress :: Text -> Text -> Text -> RecoveryAddress
+ OryKratos.Types: RecoveryAddress :: UUID -> Text -> Text -> RecoveryAddress
- OryKratos.Types: RecoveryFlow :: Maybe Text -> UTCTime -> Text -> UTCTime -> Maybe [Message] -> RecoveryFlowMethods -> Text -> Text -> Maybe Text -> RecoveryFlow
+ OryKratos.Types: RecoveryFlow :: Maybe Text -> UTCTime -> UUID -> UTCTime -> Maybe [Message] -> RecoveryFlowMethods -> Text -> Text -> Maybe Text -> RecoveryFlow
- OryKratos.Types: RegistrationFlow :: Maybe Text -> UTCTime -> Text -> UTCTime -> Maybe [Message] -> RegistrationFlowMethods -> Text -> Maybe Text -> RegistrationFlow
+ OryKratos.Types: RegistrationFlow :: Maybe Text -> UTCTime -> UUID -> UTCTime -> Maybe [Message] -> RegistrationFlowMethods -> Text -> Maybe Text -> RegistrationFlow
- OryKratos.Types: Session :: Maybe Bool -> UTCTime -> UTCTime -> Text -> Identity -> UTCTime -> Session
+ OryKratos.Types: Session :: Maybe Bool -> UTCTime -> UTCTime -> UUID -> Identity -> UTCTime -> Session
- OryKratos.Types: SettingsFlow :: Maybe Text -> UTCTime -> Text -> Identity -> UTCTime -> Maybe [Message] -> SettingsFlowMethods -> Text -> Text -> Maybe Text -> SettingsFlow
+ OryKratos.Types: SettingsFlow :: Maybe Text -> UTCTime -> UUID -> Identity -> UTCTime -> Maybe [Message] -> SettingsFlowMethods -> Text -> Text -> Maybe Text -> SettingsFlow
- OryKratos.Types: VerifiableAddress :: Text -> Text -> Text -> Bool -> Maybe UTCTime -> Text -> VerifiableAddress
+ OryKratos.Types: VerifiableAddress :: UUID -> Text -> Text -> Bool -> Maybe UTCTime -> Text -> VerifiableAddress
- OryKratos.Types: VerificationFlow :: Maybe Text -> Maybe UTCTime -> Maybe Text -> Maybe UTCTime -> Maybe [Message] -> Map String VerificationFlowMethod -> Maybe Text -> Text -> Maybe Text -> VerificationFlow
+ OryKratos.Types: VerificationFlow :: Maybe Text -> Maybe UTCTime -> Maybe UUID -> Maybe UTCTime -> Maybe [Message] -> Map String VerificationFlowMethod -> Maybe Text -> Text -> Maybe Text -> VerificationFlow
- OryKratos.Types: [$sel:id:Identity] :: Identity -> Text
+ OryKratos.Types: [$sel:id:Identity] :: Identity -> UUID
- OryKratos.Types: [$sel:id:LoginFlow] :: LoginFlow -> Text
+ OryKratos.Types: [$sel:id:LoginFlow] :: LoginFlow -> UUID
- OryKratos.Types: [$sel:id:RecoveryAddress] :: RecoveryAddress -> Text
+ OryKratos.Types: [$sel:id:RecoveryAddress] :: RecoveryAddress -> UUID
- OryKratos.Types: [$sel:id:RecoveryFlow] :: RecoveryFlow -> Text
+ OryKratos.Types: [$sel:id:RecoveryFlow] :: RecoveryFlow -> UUID
- OryKratos.Types: [$sel:id:RegistrationFlow] :: RegistrationFlow -> Text
+ OryKratos.Types: [$sel:id:RegistrationFlow] :: RegistrationFlow -> UUID
- OryKratos.Types: [$sel:id:Session] :: Session -> Text
+ OryKratos.Types: [$sel:id:Session] :: Session -> UUID
- OryKratos.Types: [$sel:id:SettingsFlow] :: SettingsFlow -> Text
+ OryKratos.Types: [$sel:id:SettingsFlow] :: SettingsFlow -> UUID
- OryKratos.Types: [$sel:id:VerifiableAddress] :: VerifiableAddress -> Text
+ OryKratos.Types: [$sel:id:VerifiableAddress] :: VerifiableAddress -> UUID
- OryKratos.Types: [$sel:id:VerificationFlow] :: VerificationFlow -> Maybe Text
+ OryKratos.Types: [$sel:id:VerificationFlow] :: VerificationFlow -> Maybe UUID
- OryKratos.Types: [$sel:identity_id:CreateRecoveryLink] :: CreateRecoveryLink -> Text
+ OryKratos.Types: [$sel:identity_id:CreateRecoveryLink] :: CreateRecoveryLink -> UUID
Files
- lib/OryKratos/Types/Login.hs +1/−1
- lib/OryKratos/Types/Misc.hs +5/−5
- lib/OryKratos/Types/Recovery.hs +1/−1
- lib/OryKratos/Types/Registration.hs +1/−1
- lib/OryKratos/Types/Settings.hs +1/−1
- lib/OryKratos/Types/Verification.hs +1/−1
- ory-kratos.cabal +2/−2
lib/OryKratos/Types/Login.hs view
@@ -19,7 +19,7 @@ -- | Forced stores whether this login flow should enforce re-authentication. forced :: Maybe Bool, -- |- id :: Text,+ id :: UUID, -- | IssuedAt is the time (UTC) when the flow started. issued_at :: UTCTime, -- |
lib/OryKratos/Types/Misc.hs view
@@ -239,7 +239,7 @@ { -- | Link Expires In The recovery link will expire at that point in time. Defaults to the configuration value of `selfservice.flows.recovery.request_lifespan`. expires_in :: Maybe Text, -- |- identity_id :: Text+ identity_id :: UUID } deriving stock (Show, Eq, Generic, Data) @@ -251,7 +251,7 @@ -- | data Identity = Identity { -- |- id :: Text,+ id :: UUID, -- | RecoveryAddresses contains all the addresses that can be used to recover an identity. recovery_addresses :: Maybe [RecoveryAddress], -- | SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.@@ -291,7 +291,7 @@ -- | expires_at :: UTCTime, -- |- id :: Text,+ id :: UUID, -- | identity :: Identity, -- |@@ -321,7 +321,7 @@ -- | data VerifiableAddress = VerifiableAddress { -- |- id :: Text,+ id :: UUID, -- | status :: Text, -- |@@ -355,7 +355,7 @@ -- | data RecoveryAddress = RecoveryAddress { -- |- id :: Text,+ id :: UUID, -- | value :: Text, -- |
lib/OryKratos/Types/Recovery.hs view
@@ -17,7 +17,7 @@ -- | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting, a new request has to be initiated. expires_at :: UTCTime, -- |- id :: Text,+ id :: UUID, -- | IssuedAt is the time (UTC) when the request occurred. issued_at :: UTCTime, -- |
lib/OryKratos/Types/Registration.hs view
@@ -22,7 +22,7 @@ -- | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in, a new flow has to be initiated. expires_at :: UTCTime, -- |- id :: Text,+ id :: UUID, -- | IssuedAt is the time (UTC) when the flow occurred. issued_at :: UTCTime, -- |
lib/OryKratos/Types/Settings.hs view
@@ -17,7 +17,7 @@ -- | ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting, a new flow has to be initiated. expires_at :: UTCTime, -- |- id :: Text,+ id :: UUID, -- | identity :: Identity, -- | IssuedAt is the time (UTC) when the flow occurred.
lib/OryKratos/Types/Verification.hs view
@@ -16,7 +16,7 @@ -- | ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address, a new request has to be initiated. expires_at :: Maybe UTCTime, -- |- id :: Maybe Text,+ id :: Maybe UUID, -- | IssuedAt is the time (UTC) when the request occurred. issued_at :: Maybe UTCTime, -- |
ory-kratos.cabal view
@@ -1,8 +1,8 @@ cabal-version: 3.0 name: ory-kratos-version: 0.0.5.9+version: 0.0.5.10 synopsis: API bindings for Ory Kratos-description: Auto-generated API bindings for ory-kratos 0.5.5-alpha1+description: API bindings for ory-kratos 0.5.5-alpha1 homepage: https://github.com/njaremko/ory-kratos-haskell-sdk author: ory maintainer: nathan@jaremko.ca