@Override public String getToken(String tokenAudience) throws IOException { if (this.tokenSource == MSITokenSource.MSI_EXTENSION) { return this.getTokenFromMSIExtension(tokenAudience == null ? this.resource : tokenAudience); } else { return this.getTokenFromIMDSEndpoint(tokenAudience == null ? this.resource : tokenAudience); } }