31 lines
594 B
JavaScript
31 lines
594 B
JavaScript
export default OakComponent({
|
|
entity: 'oauthProvider',
|
|
isList: false,
|
|
projection: {
|
|
name: 1,
|
|
type: 1,
|
|
logo: 1,
|
|
scopes: 1,
|
|
authorizationEndpoint: 1,
|
|
tokenEndpoint: 1,
|
|
userInfoEndpoint: 1,
|
|
revokeEndpoint: 1,
|
|
refreshEndpoint: 1,
|
|
clientId: 1,
|
|
clientSecret: 1,
|
|
redirectUri: 1,
|
|
autoRegister: 1,
|
|
ableState: 1,
|
|
},
|
|
formData({ data }) {
|
|
return {
|
|
item: data,
|
|
};
|
|
},
|
|
properties: {},
|
|
lifetimes: {
|
|
ready() {
|
|
},
|
|
}
|
|
});
|