OAuth2ResourceServerImpl.java
1.11 KB
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* org.apache.felix.scr.annotations.Component
* org.apache.felix.scr.annotations.Service
*/
package com.adobe.granite.oauth.server.impl;
import com.adobe.granite.oauth.server.OAuth2ResourceServer;
import com.adobe.granite.oauth.server.Scope;
import com.adobe.granite.oauth.server.scopes.impl.OfflineAccessScope;
import com.adobe.granite.oauth.server.scopes.impl.ProfileScope;
import com.adobe.granite.oauth.server.scopes.impl.ReplicateScope;
import java.util.HashMap;
import java.util.Map;
import org.apache.felix.scr.annotations.Component;
import org.apache.felix.scr.annotations.Service;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
@Component
@Service(value={OAuth2ResourceServer.class})
public class OAuth2ResourceServerImpl
implements OAuth2ResourceServer {
private static final Map<String, Scope> DEFAULT_ALLOWED_SCOPES_MAPPING = new HashMap<String, Scope>(){};
@Override
public Map<String, Scope> getAllowedScopes() {
return DEFAULT_ALLOWED_SCOPES_MAPPING;
}
}