ory-kratos 0.0.7.3 → 0.0.8.0
raw patch · 5 files changed
+12/−12 lines, 5 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- OryKratos.Types: Identity :: Maybe UTCTime -> Maybe (Map String IdentityCredentials) -> Text -> Maybe Value -> Maybe Value -> Maybe [RecoveryAddress] -> Text -> Text -> Maybe IdentityState -> Maybe UTCTime -> Value -> Maybe UTCTime -> Maybe [VerifiableIdentityAddress] -> Identity
+ OryKratos.Types: Identity :: Maybe UTCTime -> Maybe (Map String IdentityCredentials) -> UUID -> Maybe Value -> Maybe Value -> Maybe [RecoveryAddress] -> Text -> Text -> Maybe IdentityState -> Maybe UTCTime -> Value -> Maybe UTCTime -> Maybe [VerifiableIdentityAddress] -> Identity
- OryKratos.Types: RecoveryAddress :: Maybe UTCTime -> Text -> Maybe UTCTime -> Text -> Text -> RecoveryAddress
+ OryKratos.Types: RecoveryAddress :: Maybe UTCTime -> UUID -> Maybe UTCTime -> Text -> Text -> RecoveryAddress
- OryKratos.Types: SelfServiceError :: Maybe UTCTime -> Maybe Value -> Text -> Maybe UTCTime -> SelfServiceError
+ OryKratos.Types: SelfServiceError :: Maybe UTCTime -> Maybe Value -> UUID -> Maybe UTCTime -> SelfServiceError
- OryKratos.Types: SelfServiceFlowExpiredError :: Maybe Integer -> Maybe Text -> Maybe (Map String Value) -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> SelfServiceFlowExpiredError
+ OryKratos.Types: SelfServiceFlowExpiredError :: Maybe Integer -> Maybe Text -> Maybe (Map String Value) -> Maybe Text -> Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe UUID -> SelfServiceFlowExpiredError
- OryKratos.Types: SelfServiceLoginFlow :: Maybe IdentityCredentialsType -> Maybe UTCTime -> UTCTime -> Text -> UTCTime -> Maybe Bool -> Text -> Maybe AuthenticatorAssuranceLevel -> Maybe Text -> Text -> UiContainer -> Maybe UTCTime -> SelfServiceLoginFlow
+ OryKratos.Types: SelfServiceLoginFlow :: Maybe IdentityCredentialsType -> Maybe UTCTime -> UTCTime -> UUID -> UTCTime -> Maybe Bool -> Text -> Maybe AuthenticatorAssuranceLevel -> Maybe Text -> Text -> UiContainer -> Maybe UTCTime -> SelfServiceLoginFlow
- OryKratos.Types: SelfServiceRecoveryFlow :: Maybe Text -> UTCTime -> Text -> UTCTime -> Text -> Maybe Text -> SelfServiceRecoveryFlowState -> Text -> UiContainer -> SelfServiceRecoveryFlow
+ OryKratos.Types: SelfServiceRecoveryFlow :: Maybe Text -> UTCTime -> UUID -> UTCTime -> Text -> Maybe Text -> SelfServiceRecoveryFlowState -> Text -> UiContainer -> SelfServiceRecoveryFlow
- OryKratos.Types: SelfServiceRegistrationFlow :: Maybe IdentityCredentialsType -> UTCTime -> Text -> UTCTime -> Text -> Maybe Text -> Text -> UiContainer -> SelfServiceRegistrationFlow
+ OryKratos.Types: SelfServiceRegistrationFlow :: Maybe IdentityCredentialsType -> UTCTime -> UUID -> UTCTime -> Text -> Maybe Text -> Text -> UiContainer -> SelfServiceRegistrationFlow
- OryKratos.Types: SelfServiceSettingsFlow :: Maybe Text -> UTCTime -> Text -> Identity -> UTCTime -> Text -> Maybe Text -> SelfServiceSettingsFlowState -> Text -> UiContainer -> SelfServiceSettingsFlow
+ OryKratos.Types: SelfServiceSettingsFlow :: Maybe Text -> UTCTime -> UUID -> Identity -> UTCTime -> Text -> Maybe Text -> SelfServiceSettingsFlowState -> Text -> UiContainer -> SelfServiceSettingsFlow
- OryKratos.Types: SelfServiceVerificationFlow :: Maybe Text -> Maybe UTCTime -> Text -> Maybe UTCTime -> Maybe Text -> Maybe Text -> SelfServiceVerificationFlowState -> Text -> UiContainer -> SelfServiceVerificationFlow
+ OryKratos.Types: SelfServiceVerificationFlow :: Maybe Text -> Maybe UTCTime -> UUID -> Maybe UTCTime -> Maybe Text -> Maybe Text -> SelfServiceVerificationFlowState -> Text -> UiContainer -> SelfServiceVerificationFlow
- OryKratos.Types: Session :: Maybe Bool -> Maybe UTCTime -> Maybe [SessionAuthenticationMethod] -> Maybe AuthenticatorAssuranceLevel -> Maybe UTCTime -> Text -> Identity -> Maybe UTCTime -> Session
+ OryKratos.Types: Session :: Maybe Bool -> Maybe UTCTime -> Maybe [SessionAuthenticationMethod] -> Maybe AuthenticatorAssuranceLevel -> Maybe UTCTime -> UUID -> Identity -> Maybe UTCTime -> Session
- OryKratos.Types: VerifiableIdentityAddress :: Maybe UTCTime -> Text -> Text -> Maybe UTCTime -> Text -> Bool -> Maybe UTCTime -> Text -> VerifiableIdentityAddress
+ OryKratos.Types: VerifiableIdentityAddress :: Maybe UTCTime -> UUID -> Text -> Maybe UTCTime -> Text -> Bool -> Maybe UTCTime -> Text -> VerifiableIdentityAddress
- OryKratos.Types: [$sel:id:Identity] :: Identity -> Text
+ OryKratos.Types: [$sel:id:Identity] :: Identity -> UUID
- OryKratos.Types: [$sel:id:RecoveryAddress] :: RecoveryAddress -> Text
+ OryKratos.Types: [$sel:id:RecoveryAddress] :: RecoveryAddress -> UUID
- OryKratos.Types: [$sel:id:SelfServiceError] :: SelfServiceError -> Text
+ OryKratos.Types: [$sel:id:SelfServiceError] :: SelfServiceError -> UUID
- OryKratos.Types: [$sel:id:SelfServiceLoginFlow] :: SelfServiceLoginFlow -> Text
+ OryKratos.Types: [$sel:id:SelfServiceLoginFlow] :: SelfServiceLoginFlow -> UUID
- OryKratos.Types: [$sel:id:SelfServiceRecoveryFlow] :: SelfServiceRecoveryFlow -> Text
+ OryKratos.Types: [$sel:id:SelfServiceRecoveryFlow] :: SelfServiceRecoveryFlow -> UUID
- OryKratos.Types: [$sel:id:SelfServiceRegistrationFlow] :: SelfServiceRegistrationFlow -> Text
+ OryKratos.Types: [$sel:id:SelfServiceRegistrationFlow] :: SelfServiceRegistrationFlow -> UUID
- OryKratos.Types: [$sel:id:SelfServiceSettingsFlow] :: SelfServiceSettingsFlow -> Text
+ OryKratos.Types: [$sel:id:SelfServiceSettingsFlow] :: SelfServiceSettingsFlow -> UUID
- OryKratos.Types: [$sel:id:SelfServiceVerificationFlow] :: SelfServiceVerificationFlow -> Text
+ OryKratos.Types: [$sel:id:SelfServiceVerificationFlow] :: SelfServiceVerificationFlow -> UUID
- OryKratos.Types: [$sel:id:Session] :: Session -> Text
+ OryKratos.Types: [$sel:id:Session] :: Session -> UUID
- OryKratos.Types: [$sel:id:VerifiableIdentityAddress] :: VerifiableIdentityAddress -> Text
+ OryKratos.Types: [$sel:id:VerifiableIdentityAddress] :: VerifiableIdentityAddress -> UUID
- OryKratos.Types: [$sel:use_flow_id:SelfServiceFlowExpiredError] :: SelfServiceFlowExpiredError -> Maybe Text
+ OryKratos.Types: [$sel:use_flow_id:SelfServiceFlowExpiredError] :: SelfServiceFlowExpiredError -> Maybe UUID
Files
- lib/OryKratos/Types/Identity.hs +1/−1
- lib/OryKratos/Types/Other.hs +1/−1
- lib/OryKratos/Types/SelfService.hs +7/−7
- lib/OryKratos/Types/Types.hs +2/−2
- ory-kratos.cabal +1/−1
lib/OryKratos/Types/Identity.hs view
@@ -41,7 +41,7 @@ created_at :: Maybe UTCTime, -- | Credentials represents all credentials that can be used for authenticating this identity. credentials :: Maybe (Map.Map String IdentityCredentials),- id :: Text,+ id :: UUID, -- | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable- metadata_admin :: Maybe Value, -- | NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-
lib/OryKratos/Types/Other.hs view
@@ -43,7 +43,7 @@ authenticator_assurance_level :: Maybe AuthenticatorAssuranceLevel, -- | The Session Expiry When this session expires at. expires_at :: Maybe UTCTime,- id :: Text,+ id :: UUID, identity :: Identity, -- | The Session Issuance Timestamp When this session was issued at. Usually equal or close to `authenticated_at`. issued_at :: Maybe UTCTime
lib/OryKratos/Types/SelfService.hs view
@@ -70,7 +70,7 @@ { -- | CreatedAt is a helper struct field for gobuffalo.pop. created_at :: Maybe UTCTime, error :: Maybe Value,- id :: Text,+ id :: UUID, -- | UpdatedAt is a helper struct field for gobuffalo.pop. updated_at :: Maybe UTCTime }@@ -101,7 +101,7 @@ since :: Maybe Integer, -- | The status description status :: Maybe Text,- use_flow_id :: Maybe Text+ use_flow_id :: Maybe UUID } deriving stock (Show, Eq, Generic, Data) @@ -117,7 +117,7 @@ created_at :: Maybe UTCTime, -- | 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 started. issued_at :: UTCTime, -- | Refresh stores whether this login flow should enforce re-authentication.@@ -161,7 +161,7 @@ active :: Maybe Text, -- | 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, -- | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.@@ -219,7 +219,7 @@ { active :: Maybe IdentityCredentialsType, -- | 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, -- | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.@@ -245,7 +245,7 @@ active :: Maybe Text, -- | 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. issued_at :: UTCTime,@@ -287,7 +287,7 @@ active :: Maybe Text, -- | 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 :: Text,+ id :: UUID, -- | IssuedAt is the time (UTC) when the request occurred. issued_at :: Maybe UTCTime, -- | RequestURL is the initial URL that was requested from Ory Kratos. It can be used to forward information contained in the URL's path or query for example.
lib/OryKratos/Types/Types.hs view
@@ -240,7 +240,7 @@ data RecoveryAddress = RecoveryAddress { -- | CreatedAt is a helper struct field for gobuffalo.pop. created_at :: Maybe UTCTime,- id :: Text,+ id :: UUID, -- | UpdatedAt is a helper struct field for gobuffalo.pop. updated_at :: Maybe UTCTime, value :: Text,@@ -306,7 +306,7 @@ data VerifiableIdentityAddress = VerifiableIdentityAddress { -- | When this entry was created created_at :: Maybe UTCTime,- id :: Text,+ id :: UUID, -- | VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema status :: Text, -- | When this entry was last updated
ory-kratos.cabal view
@@ -1,6 +1,6 @@ cabal-version: 3.0 name: ory-kratos-version: 0.0.7.3+version: 0.0.8.0 synopsis: API bindings for Ory Kratos description: API bindings for ory-kratos 0.10.1 homepage: https://github.com/njaremko/ory-kratos-haskell-sdk