User account expiration date

Hi,

Is there a way to implicitly validate a user based on expiration date ?

Best regards.

Hi,

could you be a bit more precise? Do you mean based on the authenticator expiration date or a date stored in the user object?

Best regards,
Christian

Hi,

I mean a date stored in the user object.

Best regards.

Hi,

You could use authorization.

Best regards,
Christian

Hi,

Thanks, is there a way to mix multiple Authorization object ? for example use an Authorization object for role validation and an other one for account expiration in the same silhouette.SecuredAction

Best regards.

Hi,

have you read: https://www.silhouette.rocks/v4.0/docs/authorization#section-logic-operator

Best regards,
Christian

1 Like