User account expiration date


#1

Hi,

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

Best regards.


#2

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


#3

Hi,

I mean a date stored in the user object.

Best regards.


#4

Hi,

You could use authorization.

Best regards,
Christian


#5

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.


#6

Hi,

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

Best regards,
Christian