OpenID (v6.1)
pac4j allows you to login using the OpenID protocol v1.0 and v2.0.
Notice that the OpenID protocol is not used very much.
1) Dependency
You need to use the following module: pac4j-openid
.
Example (Maven dependency):
<dependency>
<groupId>org.pac4j</groupId>
<artifactId>pac4j-openid</artifactId>
<version>${pac4j.version}</version>
</dependency>
2) YahooClient
The only available client is the YahooOpenIdClient
which allows you to login at Yahoo (using the OpenID protocol).
Example:
YahooOpenIdClient client = new YahooOpenIdClient();
client.setCallbackUrl("http://localhost:8080/callback");