diff --git a/friendsofsymfony/oauth-server-bundle/1.6/config/packages/fos_oauth_server.yaml b/friendsofsymfony/oauth-server-bundle/1.6/config/packages/fos_oauth_server.yaml new file mode 100644 index 00000000..efb4e855 --- /dev/null +++ b/friendsofsymfony/oauth-server-bundle/1.6/config/packages/fos_oauth_server.yaml @@ -0,0 +1,8 @@ +# Read the documentation: https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/blob/master/Resources/doc/index.md#step-5-configure-fosoauthserverbundle +fos_oauth_server: + db_driver: orm + + client_class: App\Entity\Client + access_token_class: App\Entity\AccessToken + refresh_token_class: App\Entity\RefreshToken + auth_code_class: App\Entity\AuthCode diff --git a/friendsofsymfony/oauth-server-bundle/1.6/config/routes/fos_oauth_server.yaml b/friendsofsymfony/oauth-server-bundle/1.6/config/routes/fos_oauth_server.yaml new file mode 100644 index 00000000..f98bab0b --- /dev/null +++ b/friendsofsymfony/oauth-server-bundle/1.6/config/routes/fos_oauth_server.yaml @@ -0,0 +1,5 @@ +fos_oauth_server_token: + resource: "@FOSOAuthServerBundle/Resources/config/routing/token.xml" + +fos_oauth_server_authorize: + resource: "@FOSOAuthServerBundle/Resources/config/routing/authorize.xml" diff --git a/friendsofsymfony/oauth-server-bundle/1.6/manifest.json b/friendsofsymfony/oauth-server-bundle/1.6/manifest.json new file mode 100644 index 00000000..afa58fa4 --- /dev/null +++ b/friendsofsymfony/oauth-server-bundle/1.6/manifest.json @@ -0,0 +1,9 @@ +{ + "bundles": { + "FOS\\OAuthServerBundle\\FOSOAuthServerBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + } +} diff --git a/friendsofsymfony/oauth-server-bundle/1.6/src/Entity/AccessToken.php b/friendsofsymfony/oauth-server-bundle/1.6/src/Entity/AccessToken.php new file mode 100644 index 00000000..c95f6f0f --- /dev/null +++ b/friendsofsymfony/oauth-server-bundle/1.6/src/Entity/AccessToken.php @@ -0,0 +1,31 @@ +