Class AuthorizationService
- java.lang.Object
-
- org.nervos.muta.service.authorization.AuthorizationService
-
public class AuthorizationService extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
METHOD_ADD_VERIFIED_ITEM
static java.lang.String
METHOD_REMOVE_VERIFIED_ITEM
static java.lang.String
METHOD_SET_ADMIN
static java.lang.String
SERVICE_NAME
-
Constructor Summary
Constructors Constructor Description AuthorizationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add_verified_item(AddVerifiedItemPayload addVerifiedItemPayload)
void
remove_verified_item(RemoveVerifiedItemPayload removeVerifiedItemPayload)
void
set_admin(SetAdminPayload setAdminPayload)
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
METHOD_ADD_VERIFIED_ITEM
public static final java.lang.String METHOD_ADD_VERIFIED_ITEM
- See Also:
- Constant Field Values
-
METHOD_REMOVE_VERIFIED_ITEM
public static final java.lang.String METHOD_REMOVE_VERIFIED_ITEM
- See Also:
- Constant Field Values
-
METHOD_SET_ADMIN
public static final java.lang.String METHOD_SET_ADMIN
- See Also:
- Constant Field Values
-
-
Method Detail
-
add_verified_item
public void add_verified_item(AddVerifiedItemPayload addVerifiedItemPayload) throws java.io.IOException
- Throws:
java.io.IOException
-
remove_verified_item
public void remove_verified_item(RemoveVerifiedItemPayload removeVerifiedItemPayload) throws java.io.IOException
- Throws:
java.io.IOException
-
set_admin
public void set_admin(SetAdminPayload setAdminPayload) throws java.io.IOException
- Throws:
java.io.IOException
-
-