All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
me.tfeng.play.security.oauth2.AuthenticationManager Maven / Gradle / Ivy
/**
* Autogenerated by Avro
*
* DO NOT EDIT DIRECTLY
*/
package me.tfeng.play.security.oauth2;
@SuppressWarnings("all")
@org.apache.avro.specific.AvroGenerated
public interface AuthenticationManager {
public static final org.apache.avro.Protocol PROTOCOL = org.apache.avro.Protocol.parse("{\"protocol\":\"AuthenticationManager\",\"namespace\":\"me.tfeng.play.security.oauth2\",\"types\":[{\"type\":\"record\",\"name\":\"ClientAuthentication\",\"fields\":[{\"name\":\"id\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"authorities\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}},{\"name\":\"scopes\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}}]},{\"type\":\"record\",\"name\":\"UserAuthentication\",\"fields\":[{\"name\":\"id\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}},{\"name\":\"authorities\",\"type\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}}]},{\"type\":\"record\",\"name\":\"Authentication\",\"fields\":[{\"name\":\"client\",\"type\":\"ClientAuthentication\"},{\"name\":\"user\",\"type\":[\"null\",\"UserAuthentication\"]}]},{\"type\":\"error\",\"name\":\"AuthenticationError\",\"fields\":[{\"name\":\"message\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}]}],\"messages\":{\"authenticate\":{\"request\":[{\"name\":\"token\",\"type\":{\"type\":\"string\",\"avro.java.string\":\"String\"}}],\"response\":\"Authentication\",\"errors\":[\"AuthenticationError\"]}}}");
me.tfeng.play.security.oauth2.Authentication authenticate(java.lang.String token) throws me.tfeng.play.security.oauth2.AuthenticationError;
@SuppressWarnings("all")
public interface Callback extends AuthenticationManager {
public static final org.apache.avro.Protocol PROTOCOL = me.tfeng.play.security.oauth2.AuthenticationManager.PROTOCOL;
void authenticate(java.lang.String token, org.apache.avro.ipc.Callback callback) throws java.io.IOException;
}
}