[keycloak-dev] Purpose of UserSession.getAuthMethod()?

Stian Thorgersen stian at redhat.com
Tue Sep 23 12:49:07 EDT 2014


It's used to know how the user logged in. There's currently a few valid values:

* form - standard Keycloak login
* oauth_credentials - direct grant
* social@<social provider> (for example social at google) - social login

Currently it's only purpose is for the EventListener and audit.

----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: keycloak-dev at lists.jboss.org
> Sent: Tuesday, 23 September, 2014 5:04:46 PM
> Subject: [keycloak-dev] Purpose of UserSession.getAuthMethod()?
> 
> What is the purpose of UserSession.getAuthMethod()?  What does it mean?
>   I need something similar, but it needs to be tied to the ClientSession.
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-dev
> 


More information about the keycloak-dev mailing list