Support » Plugin: Authorizer » Saving CAS attributes as usermeta

  • Resolved benjaminniess

    (@benjaminniess)


    Hi,

    I have a quick question about the CAS attributes.

    In authorizer.php L1188, there is a call to the phpCAS::getAttributes() method and the custom_authenticate_cas() method returns an array with some data + a ‘cas_attributes’ array that I’d like to use later on.

    My question is: where can I interact with these ‘cas_attributes’ data in order to save some of them as usermeta?

    I do see the “authorizer_automatically_approve_login” filter with the $user_data param but it’s too early because at this step we don’t know the user ID.

    Thanks for your help.
    Best,

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Saving CAS attributes as usermeta’ is closed to new replies.