@Controller public class DiscoveryEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
static String |
OPENID_CONFIGURATION_URL |
static String |
WEBFINGER_URL |
static String |
WELL_KNOWN_URL |
Constructor and Description |
---|
DiscoveryEndpoint() |
Modifier and Type | Method and Description |
---|---|
String |
providerConfiguration(org.springframework.ui.Model model) |
String |
webfinger(String resource,
String rel,
org.springframework.ui.Model model) |
public static final String WELL_KNOWN_URL
public static final String OPENID_CONFIGURATION_URL
public static final String WEBFINGER_URL
public DiscoveryEndpoint()
@RequestMapping(value="/.well-known/webfinger", produces="application/json") public String webfinger(@RequestParam(value="resource") String resource, @RequestParam(value="rel",required=false) String rel, org.springframework.ui.Model model)
@RequestMapping(value="/.well-known/openid-configuration") public String providerConfiguration(org.springframework.ui.Model model)
Copyright © 2018. All rights reserved.