class DefaultOAuth2Config implements OAuth2Config, OAuth2Configurator, AppInitializable, AppListener {

    @Override
    public void onServerInfoResolved(App app, ServerInfo serverInfo) {
        this.authorizeUrl = parseUrl(this.authorizeUrl,serverInfo);
        this.tokenUrl = parseUrl(this.tokenUrl,serverInfo);
        this.tokenInfoUrl = parseUrl(this.tokenInfoUrl,serverInfo);
        this.userInfoUrl = parseUrl(this.userInfoUrl,serverInfo);
        this.publicKeyUrl = parseUrl(this.publicKeyUrl,serverInfo);
        this.logoutUrl = parseUrl(this.logoutUrl,serverInfo);
    }

}